start to abstract out aggregation lookup