put the most interesting parts at the top of response.go