simulation and fixes