working on membership aggregation