Removed multithreading