adding aggregation