need to correct aggregation phase