same for thresh as before.