adding grid
some code
working