adjusted the grid