add year to group by index