james commit new function bacm_end