Passed to generator