add cmp_branch()