According to the theory, "accommodation" is the process of reframing one's mental representation of the external world to fit new experiences. Accommodation can be understood as the mechanism by which failure leads to learning: when we act on the expectation that the world operates in one way and it violates our expectations, we often fail, but by accommodating this new experience and reframing our model of the way the world works, we learn from the experience of failure, or others' failure.