Added source for node finding function