editted threshold