Added "get nodes" functionality