added cp_process_final and cp_standin_final