added first-gen form validation