add basic geolocation functionality