add old countThreads