Updated code to reflect changes, need to fix the Geolocation feature