¶1The State appeals from an order for dismissal issued by the County Court of Cass County on April 2, 1992, which dismissed driving under the influence charges against Roxy Ann Meyer. We dismiss the State’s appeal for lack of jurisdiction.
¶2Roxy Meyer was arrested in Fargo on November 28, 1991, for driving under the influence of alcohol in violation of N.D.C.C. § 39-08-01. She received an Intoxilyzer breath test which registered a .10% alcohol concentration. The State amended the charges against Meyer on March 11, 1991, charging Meyer only with violating the per se portion of the statute. N.D.C.C. § 39-*36508-01(l)(a)
¶3An appeal may be taken by the state from:
1. An order quashing an information or indictment or any count thereof.
2. An order granting a new trial.
3. An order arresting judgment.
4. An order made after judgment affecting any substantial right of the state.
5. An order granting the return of property or suppressing evidence, or suppressing a confession or admission, when accompanied by a statement of the prosecuting attorney asserting that the appeal is not taken for purpose of delay and that the evidence is a substantial proof of a fact material in the proceeding. The statement must be filed with the clerk of district court and a copy must accompany the notice of appeal. [N.D.C.C. § 29-28-07.]
¶4The State, citing State v. Hogie, 424 N.W.2d 630 (N.D.1988), contends the trial court’s order for dismissal is an order quashing an information or indictment ap-pealable under § 29-28-07(1). In Hogie, we ruled that the trial court’s judgment of *366acquittal was, in effect, an order quashing an information. We based our ruling on the determination that there was no resolution or review of the factual elements of the charged offense. “By moving for a judgment of acquittal on the ground that automobile theft may be charged only as a class C felony, and not as a class B felony, Hogie sought ‘termination of the proceedings against him on a basis unrelated to factual guilt or innocence.’ ” Id. 633, citing United States v. Scott, 437 U.S. 82, 99, 98 S.Ct. 2187, 2198, 57 L.Ed.2d 65, 79 (1978). The State argues the order of dismissal issued by the court is appealable because it is based upon a legal conclusion and not upon a factual element of the charged crime. We disagree.
¶5To determine what constitutes an acquittal, as distinguished from a dismissal, we “look at the substance of the judge’s ruling, whatever its label, and determine whether it actually represents a resolution of some or all of the factual elements of the offense charged.” See State v. Melin, 428 N.W.2d 227, 229 (N.D.1988), citing United States v. Martin Linen Supply Co., 430 U.S. 564, 97 S.Ct. 1349, 51 L.Ed.2d 642 (1977). In this case, the judgment of acquittal was based upon a lack of evidence as to a factual element of the crime of driving under the influence — proof that Meyer had a blood-alcohol concentration of .10% or more within two hours of operation or control of a vehicle. The judgment of acquittal was the result of an evidentiary ruling on the foundation needed to admit the breath test record and checklist into evidence. We do not review the propriety of the evidentiary ruling since an “[ajcquit-tal by the trial court for lack of evidence bars retrial, even when that acquittal is based on erroneous evidentiary rulings.” City of Dickinson v. Kraft, 472 N.W.2d 441, 443 (N.D.1991). See Sanabria v. United States, 437 U.S. 54, 98 S.Ct. 2170, 57 L.Ed.2d 43 (1978). Because the court’s order for dismissal was based upon factual elements, we conclude it is an acquittal which may not be appealed under § 29-28-07.
¶6Meyer has moved for costs and attorneys fees. Rule 38, N.D.R.App.P. Costs and fees are appropriate where an appeal is flagrantly groundless, devoid of merit, or demonstrates bad faith. See Williams v. State, 405 N.W.2d 615 (N.D. 1987). We find no bad faith on the State’s part and conclude the appeal, while arguably a weak case, had merit due to the issue of appealability and the State’s evi-dentiary concerns. The appeal is dismissed and appellee’s motion for fees and costs under Rule 38, N.D.R.App.P., is denied.
¶7. N.D.C.C. § 39-08-01(l)(a) states:
¶81. Any person may not drive or be in actual physical control of any vehicle upon a highway or upon public or private areas to which the public has a right of access for vehicular use in this state if any of the following apply: a. That person has a blood alcohol concentration of at least ten one-hundredths of one percent by weight at the time of the performance of a chemical test within two hours after the driving.
¶9. The Intoxilyzer test record and checklist is a document containing 9 lines that is printed by the Intoxilyzer machine at the conclusion of a breath test. Prior to 1989, line 9 stated "reported BAC." After 1989, line 9 stated "reported AC.” The change was made in response to amendments to N.D.C.C. Chapter 39-20 made in 1989. Under the amendments, various references to "blood alcohol concentration” were changed to "alcohol concentration.” N.D.C.C. § 39-20-07(3), prior to 1989, provided that a person with a blood alcohol concentration of at least .10% within two hours of operating or controlling a car is under the influence of alcohol. The statute was amended by replacing "blood alcohol concentration” with "alcohol concentration” apparently to reflect that various mediums: blood, breath, saliva, and urine, may be chemically analyzed in a DUI prosecution. N.D.C.C. § 39-08-01, however, refers only to "blood alcohol concentration.” Since the State may not appeal this matter, we decline to review the issue of whether "BAC” is the same as "AC" under the statutes. We suggest a legislative review of the issues raised by the 1989 amendments.
¶10. We denied the State’s motion to file a supplemental brief. The State sought to argue that State v. Allesi, 211 N.W.2d 773 (N.D.1973) demonstrates the present matter is appealable. In Allesi, the trial court dismissed a criminal charge on the basis the State failed to prove factual elements of the offense. This court ruled the dismissal was, in effect, an order to quash an information appealable under § 29-28-07(1). This analysis, however, was based on the premise that the trial court committed error by failing to instruct the jury to acquit as required by N.D.C.C. § 29-21-37 (superseded by N.D.R.Crim.P., Rule 29). Since the trial court had no power to acquit the defendant, the issue of whether the dismissal was an acquittal or an order to quash was never addressed. Here, Rule 29 allows the court to enter a judgment of acquittal, therefore, the issue is raised.