validation to gui step 1