adding new aggregator code