changing the response type