made some changes to map and mapTile  so it takes in other parameters