Exercise 4: Adding processing options to the aggregation