added error catching for responses from Yelp