added run_or_raise terminal