TileSelector code began