concept of thread in it