A happy outcome can surprise a pessimist.