prepare for submission