multithreaded works, for some value of