adding output when failing