getter for all nodes