preparing geolocation functionality