thresholdType -> threshold_type