Additional functions related to the simulation