work on threaded search