added def to GetNode