Change. pass thread number(1..N) to work thread.