separated the node and list codes with a comment