using sums instead of averages as per Ken's document