Change for having and example
Introduce minBy(int)