small change to how the grid is drawn