produces the stochastic output