Adding aggregation to tutorials