Added functionality to tiles