How to convert failure to success