removed unuseful aggregation function