Added path_find method