added aggregation example