Prepare for submit