branching queue