Ex Parte Stover

*344OPINION

MANSFIELD, Judge.

We ordered applicant Michael Louis Sto-ver, Jr.’s post-conviction application for 'writ of habeas corpus filed and set for submission to determine whether he must be given credit toward his sentences for time he spent in a drug treatment program as a condition of probation.1 We will deny the relief requested.

The Relevant Facts

The convicting district court received evidence on applicant’s claim and made findings of fact. See Tex.Code Grim. Proc. art. 11.07, § 3(d). Because those findings are supported by the record, they will be accepted by this Court as correct. See Ex parte Adams, 768 S.W.2d 281, 288 (Tex.Crim.App.1989). According to the district court’s findings and the record before us, the facts relevant to applicant’s claim are as follows:

On May 25, 1990, applicant pled guilty to the felony offenses of theft and unauthorized use of a motor vehicle. See Tex. Penal Code §§ 31.03 & 31.07. The district court deferred a finding of guilt in each case and placed applicant on deferred adjudication probation for ten years in each case. See Tex.Code Crim. Proe. art. 42.12, § 5. As one of the conditions of deferred adjudication, applicant was required to attend a drug treatment program operated by the Cenikor Foundation 2 in Fort Worth. He entered the program on June 5, 1990, and was discharged, apparently after completing the program, on September 26,1992. On May 6, 1993, the district court, after hearing proof that applicant had violated a term of his probation unrelated to his attendance in the Cenikor program, proceeded with an adjudication of guilt in each case and sentenced applicant to imprisonment for twenty years in each case, the two sentences to run concurrently. See Tex. Penal Code § 12.42(a). Applicant did not appeal from these convictions. On August 24, 1994, applicant filed a pro se application for writ of habeas corpus in the convicting district court, arguing that he should be given credit toward his sentences for the time he spent in the Cenikor program.3 He argued in particular that such credit was mandated by the Double Jeopardy Clause of the Fifth Amendment to the United States Constitution.4 The district court concluded that applicant was entitled to the relief requested, not under the Double Jeopardy Clause, but rather under Article 42.12, § 13(d) and (e), of the Texas Code of Criminal Procedure.5

*345 Analysis

We turn first to whether applicant is entitled to relief under Article 42.12. At the time the district court placed appellant on probation, Article 42.12, § 26(b), provided that “[n]o part of the time that the defendant is on probation shall be considered as any part of the time that he shall be sentenced to serve [if probation is revoked], except for time spent by the defendant in actual confinement as a condition of probation under Section 12 or 13 of this article.” Neither § 12 nor § 13 were applicable to appellant’s time in Cenikor. Section 12, by its express terms, was applicable only to time a defendant spent detained “in a county jail.” Section 13 was not applicable, despite the district court’s conclusion to the contrary, because, in context,6 it is abundantly clear that its provisions applied only to defendants on probation for driving while intoxicated or involuntary manslaughter by reason of intoxication. See Staggs v. State, 706 S.W.2d 822, 823 (Tex.App.—Fort Worth 1986, no pet.). Therefore, applicant is not entitled to relief under Article 42.12.

We turn next to whether applicant is entitled to relief under the Double Jeopardy Clause. The Clause provides three separate protections for criminal defendants: against a second prosecution for the same offense after an acquittal, against a second prosecution for the same offense after a conviction, and against multiple punishments for the same offense. United States v. Halper, 490 U.S. 435, 440, 109 S.Ct. 1892, 1897, 104 L.Ed.2d 487 (1989). The third protection, the one implicated here, is limited, in the context of a single proceeding, to ensuring that the total punishment imposed does not exceed that authorized by the legislature. Id., 490 U.S. at 450, 109 S.Ct. at 1903. Assuming arguendo that the time applicant spent in Cenikor as a condition of probation was “punishment” for the purposes of the Double Jeopardy Clause, does the Clause require that applicant be given credit toward his sentences for that time? The answer must be “no,” because under the statutory scheme established by the Texas Legislature (see above), applicant was not entitled to credit for the time he spent in Cenikor. Thus, it cannot be said that the total punishment imposed on applicant exceeded that authorized by the Legislature. See People v. Whiteside, 437 Mich. 188, 468 N.W.2d 504, 509-511 (1991).7

The relief for which applicant prays is DENIED.

. We have held before that "the duration of a prisoner’s confinement and applicable time credits” are proper subjects for a writ of habeas corpus under Article 11.07 of the Texas Code of Criminal Procedure. See Ex parte Canada, 754 S.W.2d 660, 663 (Tex.Crim.App.1988).

. The record is silent with respect to the precise nature of the Cenikor program, but we take judicial notice that Cenikor is a non-profit organization that provides residential treatment for persons with substance abuse and criminal behavior problems. See Salmons v. State, 571 S.W.2d 29, 30 (Tex.Crim.App.1978).

. The State filed no response.

. The Double Jeopardy Clause, made enforceable against the states by the Due Process Clause of the Fourteenth Amendment, Benton v. Maryland, 395 U.S. 784, 794, 89 S.Ct. 2056, 2062, 23 L.Ed.2d 707 (1969), provides: "[Njor shall any person be subject for the same offence to be twice put in jeopardy of life or limb.”

. At the time the district court placed appellant on probation, Article 42.12, § 13, provided in relevant part:

(a) A court granting probation to a defendant convicted of an offense under Article 6701Z-1, Revised Statutes [i.e., driving while intoxicated], and punished under Subsection (d), (e), or (f) of that article shall require as a condition of probation that the defendant submit to:

(1) 72 hours of detention in a jail if the defendant was convicted under Subsection (d) of Article 67011-1, Revised Statutes; 10 days of detention in a jail if the defendant was convicted under Subsection (e) of Article 6701Z-1, Revised Statutes; or 30 days of detention in a jail if the defendant was convicted under Subsection (f) of Article 67011-1, Revised Statutes; and

(2) an evaluation by a probation officer or by a person, program, or facility approved by the Texas Commission on Alcohol and Drug Abuse for the purpose of having the facility prescribe and cany out a course of conduct necessary for the rehabilitation of the defendant’s drug or alcohol dependence condition.

(b) A court granting probation to a defendant convicted of an offense under Subdivision (2), Subsection (a), Section 19.05, Penal Code [i.e., involuntary manslaughter by reason of intoxication], shall require as a condition of probation that the defendant submit to a period of *345detention in a penal institution to serve a term of confinement of not less than 120 days.
(d) If a court requires as a condition of probation that the defendant participate in a prescribed course of conduct necessary for the rehabilitation of the defendant’s drug or alcohol dependence condition, the court shall require that the defendant pay for all or part of the cost of such rehabilitation based on the defendant's ability to pay....
(e) The imprisonment imposed shall be treated as a condition of probation, and in the event of a sentence of imprisonment upon the revocation of probation, the term of imprisonment served hereunder shall be credited toward service of such subsequent imprisonment.

. Provisions of a statute must, of course, be read in context. See Jessen Associates v. Bullock, 531 S.W.2d 593, 601 (Tex.1975).

. In People v. Whiteside, the Michigan Supreme Court addressed a claim remarkably like the one before us today. There, the appellant, Joseph Whiteside, who was sentenced to prison after violating the terms of his probation, argued that, under the Double Jeopardy Clause of the Fifth Amendment, he was entitled to sentence credit for time he spent in residence at a private drug treatment facility as a condition of probation. The court, citing United States v. Halper, 490 U.S. 435, 109 S.Ct. 1892, 104 L.Ed.2d 487 (1989), rejected Whiteside’s claim on the ground that he was not entitled to such credit under the Michigan probation statute and that, therefore, "the total punishment imposed [did not] exceed that authorized by the Legislature." People v. Whiteside, 468 N.W.2d at 510.