Redefining the role of failure in the classroom