complete the node program