add multithread programe