add thresholds