support the branch2 version