made changes. included join concept for node.