implemented aggregate feature that will group data for all dates together