little change in getGeolocation