initial validation