Failures are a means to learn