added a map controler