* added code to switch between maps