added code for testing geolocation accuracy