grid is drawn