readded validating form fields