added a thread searching module