Moved list-nodes to external function. #2