support for adding and getting nodes