adding post-aggregation transformation