added geolocation method