move to elastic aggregations