Ensure "response" value can be always check and ensure response is valid before retrieving info from it