1st part of geolocation