add mutiple state aggregation example