added saveMap