some more threading work