How do you link threads together