simulation for 2.b