Adding step 5, creating aggregate data