Added lookup_map helper functions