added simple aggregation for testing