grids: move example data generation outside