Three ways to avoid failure