simplify the grid class structure