the lat and long are now working and we've created an object for the api