alternative way to specify aggregations