BAM_process flow2