Re-implementing the grid.