implemented aggregations at any level of the su hierarchy7