def METHOD_NAME(self, name=None):
    pb = ProgressTree(parent=self, name=name)
    if self.bar and hasattr(self.bar, 'add_child') and not self.hide:
        pb.bar = self.bar.add_child(pb, None, name)
    self.children.append(pb)
    self.finished = False
    self.fraction = sum([c.fraction for c in self.children]) / len(self.children)
    self(self.fraction)
    if self.root.bar:
        # could be that it was stopped
        self.root.bar.start()
    return pb