modify the numThreads to 1