goto https://en.wikipedia.org/wiki/Peak–end_rule