For example, if someone has a medical procedure that is generally unpleasant but has a few moments of intense pain, they may remember the experience as being more painful overall than it actually was because the peak moment was particularly intense. Similarly, if someone has a long, generally enjoyable experience but the ending is unpleasant, they may remember the experience as being less enjoyable overall because of the negative ending.