Added aggregators and percentile calculation