Strategies for learning from failure