changed parameter name back to map_frame