added filter to aggregate data