changed number of threads