Checked if year is correct