init for geolocation