controlling the map