add grid and group