check for year