added name checking library into code, utilizing regex