SMS: Stochastic simulation