Added new multithreading; WIP