implemented Map::mem_out