create lab4_res_proc + write result