add isExistingBranch