Implemented the aggregator