adding warning thresholds