implemented simulator interruption