added response as a return variable
fixing merge