cleaned up node.go