renamed map to point_map, map is reserved word