added avg & sum aggs