switch between two maps working