adding documentation for Aggregation function