added the email check back in