Simulation code fixed