Added branchWrapper