threshold example