TILES REFACTORING