prepare for final submission