Why is there two threads.