thresholds computed