add output to submit