Turning moments of friction into moments of learning