removed num_thread command-line arg