pathway based aggregation