added different form validation