make threshold more explicit in nb