working on windows
Threading test. not sure if is usefull at all.