changed lat/long to values instead of array