updated find_nodes method