- aggregation function changed to sum