add more info about what is being returned here (eg number of paths)