Error in the simulation ??