Refactory code for year 2014 to 2015