added onSubmit tester