added tagging to the Tile class