added validation so year has to be between 2000 and 2009