update the Node class with comment and other things