added validation for year of birth