parameted threshold