now it works to change maps