Simulation example