add aggregation method