added class to create node