branching first