added class for Nodes