add findNode method