it's called in `generate()` within `grid-model`