process aggregate data as well