new param: multi_thread