Geolocation initial code