search visualized through 2 threads