added validation on step 1