Preparing aggregated data for further use