Index: /issm/trunk/src/c/objects/Node.cpp
===================================================================
--- /issm/trunk/src/c/objects/Node.cpp	(revision 8242)
+++ /issm/trunk/src/c/objects/Node.cpp	(revision 8243)
@@ -26,23 +26,4 @@
 		 this->hvertex=NULL;
 		 return;
-}
-/*}}}*/
-/*FUNCTION Node::Node(int id, DofIndexing* indexing, Hook* vertex, Inputs* inputs,int analysis_type){{{1*/
-Node::Node(int node_id,int node_sid, DofIndexing* node_indexing, Hook* node_vertex,Inputs* node_inputs,int analysis_type):
-	    indexing(node_indexing),
-		hvertex(node_vertex)
-{
-
-	/*all the initialization has been done by the initializer, just fill in the id: */
-	this->id=node_id;
-	this->sid=node_sid;
-	this->analysis_type=analysis_type;
-
-	if(node_inputs){
-		this->inputs=(Inputs*)node_inputs->Copy();
-	}
-	else{
-		this->inputs=new Inputs();
-	}
 }
 /*}}}*/
@@ -284,6 +265,25 @@
 Object* Node::copy() {
 		
-	return new Node(this->id,this->sid,&this->indexing, this->hvertex,this->inputs,this->analysis_type);
-
+	int i;
+
+	Node* node=NULL;
+	node=new Node();
+
+	/*Deal with hooks*/
+	node->hvertex=(Hook*)this->hvertex->copy();
+	node->indexing=(DofIndexing)new DofIndexing(this->indexing);
+
+	/*id: */
+	node->id=this->id;
+	node->sid=this->sid;
+	node->analysis_type=this->analysis_type;
+
+	/*intialize inputs : */
+	if(this->inputs){
+		node->inputs=(Inputs*)this->inputs->Copy();
+	}
+	else{
+		node->inputs=new Inputs();
+	}
 }
 
Index: /issm/trunk/src/c/objects/Node.h
===================================================================
--- /issm/trunk/src/c/objects/Node.h	(revision 8242)
+++ /issm/trunk/src/c/objects/Node.h	(revision 8243)
@@ -34,5 +34,4 @@
 		/*Node constructors, destructors {{{1*/
 		Node();
-		Node(int id,int sid, DofIndexing* indexing, Hook* vertex, Inputs* inputs,int analysis_type);
 		Node(int node_id,int node_sid, int vertex_id,int io_index, IoModel* iomodel,int analysis_type);
 		~Node();
