change in 
public Node(Node template)