added join_set_to_map