add node listing function