changed INode from Interface to Class