Added aggregation API