multithreading issue, debugging.