made changes for latlng