better handleing of the simuluation