renamed summing in generic-math