fixed code to allow (year)