more work on form validations