added corresponding methods that do not require to specify the number of threads