db and grids end