Prepare for submitting