initial version of get_map()