made geolocation work