Processing all the data and aggregating together