finish the branchement while