def __new__(cls, content, depth=0, parent=None, *args, **kwargs):
    """ creates an object of str type to extend it """
    obj = super().__new__(cls, content, *args, **kwargs)
    obj.content = content
    obj.depth = depth
    obj.parent = parent
    return obj
