add more powerful path search