adding the grid