16\5 add thread and some others