Added Threading for searches