work on the threads