added a method for getting procefureinstancenodes