Made geolocation work