assigning branchName->nameB