Adding historical grouping by year