moved where TileIndex is