Added getLatLon code