adding in debug code for lat long