removed sumBy to scala-util