This works
Working multi-threads
Support for 1 thread