mining thresholds, GH issue #5