Opinion by
Weight, J.,This is an appeal by the Commonwealth from an order of Court of Common Pleas No. 10 of Philadelphia County, entered May 12, 1966, granting a petition for a writ of habeas corpus and directing that the petitioner, Heyward Speaks, be discharged. The order will be reversed.
On October 21, 1966, in the Court of Quarter Sessions of Philadelphia County at Nos. 938 to 988 October Sessions 1966, true bills were returned on fifty-one indictments charging Heyward Speaks with various criminal offenses. Twenty-two of these bills charged either rape or assault with intent to ravish and aggravated assault and battery, twenty-one charged burglary associated with the rapes and assaults, four charged aggravated robbery, one mayhem, one sodomy, one unlawful impersonation of an officer, and one carrying a concealed deadly weapon. Trial was delayed pending psychiatric diagnosis to determine whether Speaks was competent to confer with counsel for the preparation of his defense. On November 25, 1958, after trial non-jury before Judge Watbes, Speaks was found guilty on fifty of the bills.1 Sentence was deferred “pending medical examination prior to sentencing under Barr-Walker Act”. On March 2, 1959, a report of this examination was given to the court. On April 3, 1959, the trial judge sentenced Speaks to the Farview State *230Hospital for a period of one day to life. TMs sentence was written on Bill No. 938, which charged assault with intent to ravish and aggravated assault and battery. On each of the other forty-nine bills, after the printed word “Sentence”, the trial judge wrote the following: “See sentence on Bill No. 938 October 1955”.
On February 16, 1962, in Court of Common Pleas No. 4 at No. 3706 December Term 1961, Speaks presented a petition for a writ of habeas corpus. On November 21, 1962, this petition was granted by Judge Gleeson on the ground that Speaks had been confined for a period of more than ninety days before the report of his psychiatric examination was presented to the court and sentences imposed.2 Judge Gleeson ordered that Speaks be brought before Judge Waters “for further proceedings”. On May 17, 1963, treating Judge Gleeson's order as a vacation of the prior sentences, Judge Waters imposed consecutive terms of not less than five nor more than fifteen years upon Bills Nos. 940 and 970, each of which bills represented a conviction for rape. Sentence was then suspended on the other forty-eight bills, including Bill No. 938.
On December 13, 1965, in Court of Common Pleas No. 10 at No. 624 December Term 1965, Speaks filed *231the petition with which we are presently concerned. He alleged illegal confinement on the ground that the court below had no authority, on May 17, 1963, to impose sentences on Bills Nos. 940 and 970 because, on April 3, 1959, sentence on these bills had been suspended. Judge Jamieson concluded “with great reluctance” that sentence had originally been suspended by Judge Waters on Bills Nos. 940 and 970, and therefore granted the petition on the authority of Commonwealth v. Duff, 414 Pa. 471, 200 A. 2d 773, reversing Commonwealth v. Duff, 201 Pa. Superior Ct. 387, 192 A. 2d 258, in which three members of the Superior Court, including the writer, had dissented. The Duff case stands for the proposition that a trial judge does not have the power to indefinitely suspend sentence.
It is our view that the lower court erred in finding that Judge Waters, on April 3, 1959, suspended sentence on all bills of indictment except Bill No. 938. A sentence, as any other judgment, is construed in its entirety according to the usual canons of construction, and so as to give effect to the intent of the sentencing court: Commonwealth ex rel. Scoleri v. Burke, 171 Pa. Superior Ct. 285, 90 A. 2d 847. With this well established principle in mind, we examine the words “See sentence on Bill No. 938”, placed by the trial judge on each of the other forty-nine bills of indictment immediately following the printed word “Sentence”. .Given their ordinary meaning, these words import that the trial judge intended to have the sentence written on Bill No. 938 apply to all the bills. There is not one word in the record at that time to indicate that the court suspended sentence on the other forty-nine bills of indictment. The effect of his language was to incorporate by reference the sentence which had been imposed on Bill No. 938.
Our conclusion that the trial judge did not suspend sentence is supported by a comparison of the philoso*232pby of the Barr-Walker Act with that of the applicable statute under which Speaks could have been granted suspended sentences for the sex crimes involved. Section 1 of the Barr-Walker Act (19 P.S. 1166) expresses a legislative purpose to provide more efficient punishment, treatment, and rehabilitation of persons convicted of sex crimes “if the court is of the opinion that any such person, if at large, constitutes a threat of bodily harm to members of the public, or is an habitual offender and mentally ill”. The contrasting language of the statute authorizing suspension of sentence and probation requires a trial judge to entertain the opposite belief, namely, that the person convicted is not likely to commit crime again or be a threat to the public.3 It is unlikely that a trial judge would determine that the public good required a Barr-Walker sentence for one of twenty-one vicious sexual assaults but required no detention for the other twenty. We are firmly of the opinion that the instant appeal is not controlled by the Duff case, supra, upon which the lower court placed reliance.
In summary, the sentences imposed by Judge Waters on April 3, 1959, were vacated by Judge G-eeeson on November 21, 1962, by virtue of the first habeas corpus petition filed by Speaks. This in no way imports *233that Speaks was immune from punishment. The vacated sentences were subject to correction, and valid sentences could thereafter be imposed notwithstanding the expiration of the term: Commonwealth ex rel. Perrotta v. Myers, 203 Pa. Superior Ct. 287, 201 A. 2d 292; Commonwealth ex rel. Lepera v. Rundle, 205 Pa. Superior Ct. 251, 208 A. 2d 874. Speaks was indeed fortunate in that he was sentenced on only two of the bills.
The order of the court below is reversed, and the judgments of sentence entered May 17, 1963 are affirmed.
On Bill No. 967, charging rape and assault, a demurrer was sustained because of the statute of limitations.
Section 3(a) of the Act of January 8, 1952, P. L. (1951) 1851, 19 P.S. 1168, commonly known as the Barr-Walker Act, authorizes the court to postpone sentence and to impose temporary confinement, not exceeding ninety days, to afford the Department of Welfare time in which to make a psychiatric examination. Section 3(b) of the statute provides that unless such examination is made and a report thereon given to the court within the period of temporary confinement, the provisions of the Act shall not be available to the court. In Commonwealth ex rel. Wherry v. Maroney, 201 Pa. Superior Ct. 441, 193 A. 2d 839, we held that, if the report is timely made, additional confinement for a reasonable time until sentence can be pronounced does not affect the court’s power to invoke the provisions of the statute. However, in the instant case involving Speaks the report was not timely made.
Section 25 of the Act of August 6, 1941, P. L. 861, 61 P.S. 331.25, reads as follows (italics supplied) : “Whenever any person shall be found guilty of any criminal offense by verdict of a jury, plea, or otherwise, except murder in the first degree, in any court of this Commonwealth, the court shall have the power, in its discretion, if it believes the character of the person and the circumstances of the case to be such that he is not UheVy again to engage in a course of criminal conduct and that the public good does not demand or require the imposition of a sentence to imprisonment, instead of imposing such sentence, to place the person on probation for such definite period as the court shall direct, not exceeding the maximum period of imprisonment allowed by law for the offense for which such sentence might be imposed”.