Removed multithreading functionality