got simple multithreading to work