Using states to warn about thresholds