after the RunAndGetException method has been changed