add support for `durations threshold`
Merge pull request #2 from Kosta-Github/Kosta/durations_threshold

add support for `durations threshold`