refactoring grille