example of using grids