sum, aggregate, function bug.