added branching weights