changed lat lng code to account for the change in LatLng naming convention