trying to get geolocation to function