remove multithreading