pull out right things from the response