put nodes into node list