add footer and add grids