def METHOD_NAME(node):
    # return my name and progeny names if they are not leaves
    retval = [node.Name]
    if node.stage < self.NumStages: # include leaves
        for kid in node.kids:
            retval += METHOD_NAME(kid)
    return retval