add search thread method