adjust signature for find_nodes function
wrap find_nodes with go