working on path search.