pascal-simulation