added code to use modified geolocation module