add helper function for getting entry from loc_mapper