new files for multithreading