testing output on submit