written constructor for NodeInfo twice, fixed it.