Drawing grids on index