single thread search works