Changed search to use thread.