custom aggregator example