changed the num_thread to nothreads like it is show in his ex