started adding form validation