now saves the map