updated example for the grid