prepare to submit