try adding a bit of logging to the function using lat/long, including timing