finalize for submission