added demo stochasticity option