added regex and email validators