aggregationDemo logic done, added examples