added the initial validation
added the initial validation