add grid
make grid dynamic