new geolocation code