put response into a variable