keeping track of filled grids