aggregate function
Merge pull request #17 from arash16/patch-1

aggregate function