Updated getNodes processor