Only one question is presented by this appeal: Did the court err in granting respondent’s motion to dismiss the petition under Rule 12(b) (6) for failure to state a claim upon which relief could be granted?
Rule 8(a), North Carolina Rules of Civil Procedure, provides that a pleading which sets forth a claim for relief shall contain (1) a short and plain statement of the claim sufficiently particular to give the court and the parties notice of the trans*119actions', occurrences, or series of transactions or occurrences, intended to be proved showing that the pleader is entitled to relief, and (2) a demand for judgment for the relief to which he deems himself entitled.
 When a pleader has failed to state a claim upon which relief can be granted, his adversary is now permitted by Rule 12(b) (6) to assert this defense either in a responsive pleading or by motion to dismiss, and this motion performs substantially the same function as the old common law general demurrer. 2A Moore, Federal Practice § 12.08 (2d Ed., 1968).
“At the beginning of this opinion we noted that the motion to dismiss, which tested ‘the legal sufficiency of the complaint,’ performed a function of the demurrer under the former practice. The motion to dismiss, however, will be allowed only when, under the former practice, a demurrer would have been sustained because the complaint affirmatively disclosed that the plaintiff had no cause of action against the defendant. Bagwell v. Brevard, 256 N.C. 465, 124 S.E. 2d 129; Gillikin v. Springle, 254 N.C. 240, 118 S.E. 2d 611; Turner v. Board of Education, 250 N.C. 456, 109 S.E. 2d 211. If the complaint disclosed, ‘a defective cause of action’ no amendment could supply the deficiency, and the action was dismissed. Skipper v. Cheatham, supra [249 N.C. 706, 709, 107 S.E. 2d 625, 628]; Bailey v. McGill, 247 N.C. 286, 100 S.E. 2d 860. If, on the contrary, the complaint contained ‘a defective statement of a good cause of action,’ that is, if it was deficient in factual allegations which presumably could be supplied, the demurrer was sustained but plaintiff was allowed to amend. Murray v. Aircraft Corporation, 259 N.C. 638, 131 S.E. 2d 367.
“When Rule 7 (c) abolished demurrers and decreed that pleas ‘for insufficiency shall not be used,’ it also abolished the concept of ‘a defective statement of a good cause of action.’ Thus, generally speaking, the motion to dismiss under Rule 12(b) (6) may be successfully interposed to a complaint which states a defective claim or cause of action but not to one which was formerly labeled a ‘defective *120statement of a good causé of action.’ For such complaint, as we have already noted, other provisions of Rule 12, the rules governing discovery, and the motion for summary judgment provide procedures adequate to supply information not furnished by the complaint. See the paper delivered by Dean Dickson Phillips, The Sufficiency of a Pleading as Tested by the Motion to Dismiss for Failure to State a Claim wpon Which Relief Can be Granted, reported in the proceedings at the North Carolina Bar Association’s Institute on the New Rules of Civil Procedure, October 1968, VI 16-19. See also Comment upon Rule 12, Vol. 1A, N.C. Gen. Stats., § 1A-1, p. 610.”
Applying these principles to the present case: Are the petitioners entitled to any relief under any of the allegations in the petition? We think not.
G.S. 20-166.1 (b) imposes a duty on the operator of a motor vehicle to notify the Department of Motor Vehicles of a collision in which he is involved which results in personal injuries, death or property damage in excess of $100. The operator is required by G.S. 20-279.4 to inform the Department when he notifies it of the accident whether he carried liability insurance or was exempt from the statutory provision.
In the absence of an automobile liability policy or other exceptions in the statute not pertinent to this case, G.S. 20-279.5 provides that “the Commissioner shall determine the amount of security which shall be sufficient in his judgment to satisfy any judgment or judgments for damages resulting from such accident as may be recovered against each operator or owner,” and shall within sixty days after report of such motor vehicle accident, “suspend the license of each operator and each owner of a motor vehicle in any manner involved in such accident . . . unless such operator or owner, or both, shall deposit security in the sum so determined by the Commissioner.”
G.S. 20-279.7 in part provides:
“Duration of suspension. — The license and nonresident’s operating privilege suspended as provided in § 20-279.5 shall remain so suspended and shall not be renewed nor shall any such license be issued to such person until:
*121“(1) Such person shall deposit or there shall be deposited on his behalf the security required under § 20-279.5; ...”
Under the express provisions of G.S. 20-279.5, the Commissioner of Motor Vehicles was required to suspend the driver’s license of Joseph Wade Forrester, the operator of the uninsured motor vehicle involved in the collision, until the security as fixed by the Commissioner was given. The Commissioner was also required to suspend the driver’s license of Warren Forrester as owner, since he held title to the automobile in question and G. S. 20-279.1(9) defines “owner” as the person who holds the legal title to a motor vehicle. See Insurance Co. v. Insurance Co., 279 N.C. 240, 182 S.E. 2d 571 (1971).
When the Forresters failed to give the security as ordered by the Commissioner, and the Commissioner suspended their licenses as he was required to do by G.S. 20-279.5, the petitioners appealed to the Superior Court from this order as authorized by G.S. 20-279.2, which provides that on appeal:
“ . . . Except as otherwise provided in this section, upon the filing of the petition herein provided for, the procedure shall be the same as in civil actions.
“The matter shall be heard de novo and the judge shall enter his order affirming the act or order of the Commissioner, or modifying same, including the amount of bond or security to be given by the petitioner. If the court is of the opinion that the petitioner was probably not guilty of negligence or that the negligence of the other party was probably the sole proximate cause of the collision, the judge shall reverse the act or order of the Commissioner. Either party may appeal from such order to the Supreme Court in the same manner as in other appeals from the superior court and the appeal shall have the effect of further staying the act or order of the Commissioner requiring a suspension or revocation of the petitioner’s license.”
 The petitioners did not allege that they were probably not guilty of negligence or that the negligence of the other party was probably the sole proximate cause of the collision, nor did they allege that the amount of the security required was excessive or that such security was not required by the *122terms of the statute. There were no allegations which if proved would entitle the petitioners to any relief, and the only relief requested by the petitioners was that the court postpone the posting of the security required by the Commissioner until such time as judgment had been obtained against them by Mrs. Hooks or the estate of Danny Leon Simmons. Neither the Commissioner nor the court had the authority to grant this relief. To so postpone the posting of the required security would be to disregard the express language of G.S. 20-279.5 and G.S. 20-279.7, which provide that on failure to post the security as ordered, the Commissioner shall suspend their licenses and that such suspension shall continue until the security is given.
Since the petition in this case requested relief not authorized by statute, the petition stated a defective claim in that it requested relief the court was powerless to grant regardless of what facts could be proved.
In granting respondent’s motion to dismiss the petitioners’ petition, we find no error.