why make two threads?