exercise #10, email and URL validation added