def next_name(self) -> str:
    name = self._next_name()
    while (name in self):
        name = self._next_name()
    return name
def next_name(self) -> str:
    name = self._next_name()
    while (name in self):
        name = self._next_name()
    return name