global Simulator.sim