moved response body to separate method