Use thread to search, TBD