generator stochastic process