add thread number