putting in the grid