you don't have to make two threads.