configurable threshold added
Merge branch 'master' into production