framework design of grid2