apply grids