added default text for fail and success states