Closes #17 -- undefined variable and check the object returned from google