Added addTile() prototype