added getTile click handler