updated example for simulate_experiment