simplify the map->row function, add docstring to delete!