AMR_res_flag in process