// receive and parse the response