number of threads can be set now