deterministic and stochastic process