updated simple aggregation
added more examples