OPINION
SUTIN, Judge.This is an interlocutory appeal arising out of the denial of John Doe’s motion to dismiss a petition for delinquency filed by the State in the Children’s Court. We reverse.
Supreme Court Rule 23(c)(1) of the Rules of Procedure for the Children’s Code [§ 13-14A-23(c)(1), N.M.S.A. 1953 (Repl. Vol. 3, pt. 1, 1976 Supp.)] provides that the petition “. . . shall be filed: . within 30 days from the date the preliminary inquiry was concluded if the child is not in detention.” John Doe was not in detention. The petition for delinquency was filed 34 days after the conclusion of the preliminary inquiry.
Rule 23(c)(1) is mandatory. However, the Supreme Court Rule does not provide for dismissal of a petition for failure to file the petition within the 30 day time period.
It has been suggested that Rule 7(b), a rule that gives the Children’s Court authority to enlarge the time for an “act” to be done, mandates the Children’s Court and this Court to dismiss the petition with prejudice upon failure of the State to seek an enlargement of time in which to file the petition.
Rule 7(b) reads in pertinent part:
When, by these rules ... an act is required or allowed to be done at or within a specified time, the court for cause shown, may, at any time in its discretion:
******
(2) Upon motion made after the expiration of the specified period, permit the act to be done. The court may not extend the time for commencement of a detention hearing . . . unless the attorney for the respondent agrees in writing to an extension. [Emphasis added.]
Given a broad meaning, “the act to be done” does include the act of filing a petition. The petition was filed after the 30 day period had expired and the State did fail to file a motion for an extension of time in which to file the petition.
This rule does allow the court, in its discretion, to enlarge the time for filing the petition. But it does not indicate that, upon failure of the State to move for an enlargement of the time in which to file a petition, the Children’s Court loses jurisdiction or that it requires the petition to be dismissed with prejudice.
Nevertheless, Section 13-14-14(D), N.M.S.A. 1953 (Repl.Vol. 3, pt. 1) contains in pertinent part a statutory provision that:
On motion by or on behalf of a child a petition alleging delinquency or need of supervision shall be dismissed with prejudice if it was not filed within forty-five [45] days from the date the complaint was referred to probation services. [Emphasis added.].
In the instant case, a complaint was made to probation services and notice of the preliminary inquiry was given to John Doe on June 3, 1977. The petition was filed on July 19, 1977, at least 46 days thereafter. Under this statutory provision, the petition for delinquency would be dismissed with prejudice.
There is a conflict between Rule 23(c)(1) and § 13-14-14(D) as to the time period the petition must be filed. As to this time period, the Supreme Court Rule is controlling, State v. Doe, 90 N.M. 568, 566 P.2d 117 (Ct.App.1977).
However, we find no conflict on the subject of dismissal with prejudice. When a petition is not filed within the mandatory time period, it must be dismissed with prejudice.
In State v. Doe, supra, we note that a conflict did exist in the time period as to when a hearing must begin. This conflict existed between Section 13-14-26(C) and Supreme Court Rule 34(a). The opinion set forth that the Committee Commentary stated that “Rule 34 supersedes Section 13—14-26, N.M.S.A. 1953 Comp.” In the instant ease, the Committee Commentary does not state that Rule 23(c) supersedes Section 13-14-14(D). These are committee approved commentaries. This means that the Supreme Court Children’s Court Rules Committee did not intend to abandon dismissal of a petition with prejudice belatedly filed. The views of the Committee are not necessarily those of the Supreme Court, but the Committee Commentary stated in State v. Doe was of significance to this Court.
We have held that the failure to hold a hearing within a time period of 20 days under Section 13-14-26 prior to its amendment was subject to dismissal with prejudice. Doe v. State, 88 N.M. 644, 545 P.2d 1022 (Ct.App.1976). We have also held that the legislature intended the prompt adjudication of cases. Doe v. State, 88 N.M. 347, 540 P.2d 827 (Ct.App.1975).
It is the State’s position that, in the absence of a requirement of dismissal of a petition in Rule 23(c), the question becomes one of judicial discretion. Cited in support thereof are Matter of Jane Doe, 88 N.M. 505, 542 P.2d 1195 (Ct.App.1975) and Matter of John Doe, 88 N.M. 481, 542 P.2d 61 (Ct.App.1975). John Doe does not reach the matter of judicial discretion. Jane Doe says:
It is implicit in the language of the Children’s Code that the Children’s Court is vested with a broad discretion in hearing and deciding matters under it . [88 N.M. at 511, 542 P.2d at 1201.]
This rule was made applicable to a decision of the Children’s Court after a hearing was held. It does not apply to granting or denying motions filed in the case. When a judge grants or denies a motion, the action taken is either correct or erroneous. Judicial discretion does not apply.
The Children’s Court judge released John Doe to his parents. He was not detained in the Bernalillo County Detention Home. This action indicates that it was taken in accord with the legislative purpose of the Children’s Code — to preserve the unity of the family whenever possible and to remove from children committing delinquent acts, the consequences of criminal behavior. Section 13-14-2, N.M.S.A. 1953 (Repl.Vol. 3, pt. 1). Perhaps the parents will provide adequate supervision, care and rehabilitation of John Doe who is 14 years of age.
We hold that the petition was not filed within the time period provided by law. We reverse and remand to the Children’s Court with instructions to dismiss the petition with prejudice.
IT IS SO ORDERED.
B. C. HERNANDEZ, J., specially concurring. LOPEZ, J., concurs.