add code to separate data by year