add support for `durations threshold`