search and paths