Removed num_threads