simulation and simulator