removed validate_thresholds() since this is not used