changed variable names for draw_grid