Added multithreading techniques