added #22
sumBy instead of fold
Drop unnecessary variable
sumby is nicer here, too