new type of threads
bugfix