fold __get_map() into get_map()