Problem with multi response function