why do you have 2 threads?