#### DANIEL A. VOGEL, JR., and C. WHID POWELL, JR., Partners, t/d/b DA POW DEVELOPERS COMPANY, a Partnership, Plaintiffs v. REED SUPPLY COMPANY, a Corporation, Defendant, and JUNE B. VOGEL and MARILYN M. POWELL, Partners, In DA POW DEVELOPERS COMPANY, a Partnership; DA POW DEVELOPERS, INC.; PROVIDENT MUTUAL LIFE INSURANCE COMPANY OF PHILADELPHIA, and NORTHWESTERN BANK, Additional Defendants (CASE No. 1) REED SUPPLY COMPANY, a Corporation, Plaintiff v. DA POW DEVELOPERS, INC., DANIEL A. VOGEL, JR., JUNE B. VOGEL, C. WHID POWELL and MARILYN M. POWELL, t/d/b DA POW DEVELOPERS COMPANY, a Partnership, PROVIDENT MUTUAL LIFE INSURANCE COMPANY OF PHILADELPHIA and NORTHWESTERN BANK, Defendants (CASE NO. 2)

(No. 69-CVS-41)

(No. 69-CVS-46)

No. 8

(Filed 14 October 1970)

1. Contracts § 14— third-party beneficiary — action on subcontract — incidental benefits

A landowner was not entitled to maintain an action, as a third-party beneficiary, against a subcontractor for the subcontractor’s breach of a subcontract with a general contractor to furnish materials *120for the construction of an apartment house on the land, since any benefit received by the landowner from the subcontractor’s performance would be merely incidental to the subcontractor’s discharge of his contractual obligations to the general contractor.

2. Contracts § 14— third-party beneficiary — intention of the contracting parties

In determining whether a landowner was a creditor beneficiary or merely an incidental beneficiary of a subcontract between a general contractor and a subcontractor for the furnishing of materials to build an apartment house, the intention of the parties to the subcontract is of paramount importance; it is not sufficient that the subcontract does benefit the landowner if in fact it was not intended for his direct benefit.

3. Contracts § 6— unlicensed subcontractor — right to maintain action on construction contract

A subcontractor who undertook to furnish materials to a general contractor for the construction of an apartment house was not a “general contractor” within the meaning of the contractors’ licensing statute and was therefore not required to be licensed; consequently, the unlicensed subcontractor could maintain an action against the general contractor for the breach of the contract. G.S. 87-1 et seq.

4. Statutes § 5— statutory construction— legislative definition of word

Where the legislature defines a word used in a statute, that definition is controlling even though the meaning may be contrary to its ordinary and accepted definition.

5. Statutes § 5— construction of words and phrases

Words and phrases of a statute must be construed as a part of the composite whole and accorded only that meaning which other modifying provisions and the clear intent and purpose of the act will permit.

6. Statutes § 10— construction of criminal statutes

Criminal statutes must be strictly construed; this means that the scope of a penal statute may not be extended by implication beyond the meaning of its language so as to include offenses not clearly described.

7. Statutes § 10— construction of criminal statutes — legislative intent

The rule requiring statutes to be construed to effectuate the legislative intent applies also to criminal statutes.

8. Contracts § 6— contractors’ licensing statute — applicability to subcontractor

The words “building,” “improvement,” and “structure,” as they are used in the statute setting forth the criteria of a general contractor for licensing purposes, will not be construed so as to require the licensing of a subcontractor who undertook to furnish labor and ¡materials in excess of $20,000 for the construction of the integral parts of a large building complex. G.S. 87-1.

*1219. Contracts § 6— construction contract — counterclaim by unlicensed contractor against subcontractor

An unlicensed general contractor is not prevented by the contractors’ licensing statute from maintaining a counterclaim against an unlicensed subcontractor in the latter’s action for breach of the subcontract, since there is no apparent injury to the public from the enforcement of the subcontract between the parties.

10. Contracts § 6 — contracts in contravention of public policy — enforceability

The rule that contracts in contravention of public policy are not enforceable is based on the premise that no one can rightfully do that which tends to injure the public or is detrimental to the public good.

Appeal by Reed Supply Company, Inc., from Judgment of Braswell, J., at the January 1970 Civil Session, Orange Superior Court.

Two cases consolidated by consent for the purpose of hearing and determining the various motions pending in said actions.

The facts in the following numbered paragraphs appear of record from the pleadings in each case, the motions filed in each case, and the stipulations and admissions of the parties:

1. The plaintiff in the first case (69-CYS-41) is the owner of land upon which a 168-unit apartment complex, called Chateau-Villa Apartments, was to be constructed for the landowner by Da Pow Developers, Inc., and the original defendant is a subcontractor who entered into a subcontract with Da Pow Developers, Inc., the general contractor, to furnish materials and labor for the construction of certain parts of each of the 168 units. (Those named as additional defendants on motion of the original defendant are not germane to decision of the first case.)

Reed Supply Company, the plaintiff in the second case (69-CVS-46), is a North Carolina corporation and is the same subcontractor who was sued by the landowner in the first case. Defendants are the landowner and the general contractor. (The wives of the partners-landowners have been dismissed as parties defendant. The Northwestern Bank and Provident Mutual Life Insurance Company of Philadelphia are not germane to the questions now ripe for decision.)

*122Plaintiff in each case seeks damages for breach of the subcontract dated May 1, 1968, between the contractor and the subcontractor.

2. On January 29, 1968, the land on which the apartments were to be built was owned by Charlotte Properties, Inc., a North Carolina corporation, all of the capital stock of which has at all times been owned by Daniel A. Vogel, Jr., individually.

3. On or about April 16, 1968, a contract was entered into by Charlotte Properties, Inc., Da Pow Developers, Inc., and Daniel A. Vogel, Jr., and C. Whid Powell, Jr., partners, t/a Da Pow Developers Company, a partnership. Pursuant to the terms and provisions of said contract and as of the date of the execution of same, Da Pow Developers Company, a partnership, became the equitable owner of the land upon which the subject apartments were to be constructed. This contract was executed on behalf of Da Pow Developers, Inc., by Daniel A. Vogel, Jr., President, and attested by C. Whid Powell, Jr., Secretary. Said contract was executed on behalf of Charlotte Properties, Inc., by Daniel A. Vogel, Jr., President, and attested by C. Whid Powell, Jr., Assistant Secretary; and it was executed on behalf of Da Pow Developers Company by Daniel A. Vogel, Jr., General Partner, and C. Whid Powell, Jr., General Partner.

4. Da Pow Developers, Inc., is a corporation organized under the laws of the State of North Carolina with one hundred percent of its capital stock owned at all times by Daniel A. Vogel, Jr., individually.

5. Da Pow Developers Company, a partnership, is a general partnership composed of Daniel A. Vogel, Jr., and C. Whid Powell, Jr., partners, with each partner having a fifty percent interest in all of the assets and properties of the partnership.

6. On April 15, 1968, Da Pow Developers, Inc., as contractor, and Daniel A. Vogel, Jr., and C. Whid Powell, Jr., partners, t/a Da Pow Developers Company, as owner, entered into a general construction contract for the erection by Da Pow Developers, Inc., of a 168-unit apartment complex on the land then equitably owned by Da Pow Developers Company.

7. On May 1, 1968, Da Pow Developers, Inc., as contractor, and Reed Supply Company, as subcontractor, entered into a subcontract by the terms and provisions of which Reed Supply Company was to furnish certain materials and perform certain labor in the construction of the entire 168-unit apartment proj*123ect, and pursuant to the terms of said subcontract Reed Supply Company was to furnish and erect the following: (a) exterior and interior wall panels; (b) wood floor system subfloor; (c) roof sheathing, bridging, trusses; (d) furnish and install windows, doors, base, shoe, soffit trim, plywood closures, mason-ite siding and louvers; (e) furnish only roofing and felt; (f) furnish and install shelving, door locks and door knockers; (g) furnish and complete painting except on interior ceilings; and (h) furnish only entrance door frame.

8. On May 14, 1968, legal title to the land on which the apartments were to be erected was conveyed by Charlotte Properties, Inc., to Da Pow Developers, Inc., and said deed was recorded May 29, 1968.

9. On May 14,1968, the land on which the apartments were to be erected was conveyed by Da Pow Developers, Inc., to a trustee for the Northwestern Bank as security for a construction loan. Provident Mutual Life Insurance Company of Philadelphia agreed with the Northwestern Bank to make the permanent loan for the erection of the Chateau Villa Apartments, and the security papers were to be assigned to it by the Northwestern Bank.

10. Subsequently, on May 14, 1968, legal title to the land on which the apartments were to be erected was conveyed by Da Pow Developers, Inc., to Daniel A. Vogel, Jr., and C. Whid Powell, Jr., partners, t/a Da Pow Developers Company, a partnership, subject to the Northwestern Bank deed of trust.

11. On or about July 31, 1968, Da Pow Developers, Inc., as contractor, and Reed Supply Company, as subcontractor, entered into a supplemental agreement by the terms and provisions of which a portion of the labor to be performed by Reed Supply Company was deleted from the subcontract and' the contract price for the materials and labor to be furnished by Reed Supply Company was reduced from $245,318.00 to $208,889.37.

12. Da Pow Developers, Inc., was not licensed as a general contractor pursuant to G.S. 87-1 et seq. at any time from April 15, 1968, to the present time.

13. Reed Supply Company was not licensed as a general contractor pursuant to G.S. 87-1 et seq. at any time from May 1, 1968, to the present time.

*12414. Neither June B. Vogel nor Marilyn M. Powell are partners in the partnership known as Da Pow Developers Company.

15. The cost of the Chateau Villa Apartments to be erected pursuant to the contract dated April 15, 1968, between Da Pow Developers, Inc., as contractor, and Daniel A. Vogel, Jr., and C. Whid Powell, Jr., partners, t/a Da Pow Developers Company, as owner, was $918,962.63. The cost of the materials and labor to be furnished by Reed Supply Company under the subcontract dated May 1, 1968, between Da Pow Developers, Inc., as contractor, and Reed Supply Company, as subcontractor, was $245,318.00, reduced to $208,889.37 by the supplemental agreement of the parties dated July 31, 1968.

The trial judge concluded as a matter of law:

(1) That Daniel A. Vogel, Jr., and C. Whid Powell, Jr., partners, t/a Da Pow Developers Company, and Da Pow Developers, Inc., are separate and distinct legal entities;

(2) That on April 15, 1968, Da Pow Developers Company, a partnership, became the equitable owner of the land on which the apartments were to be constructed and on May 14, 1968, became the owner of both legal and equitable title to said land;

(3) That Reed Supply Company was a general contractor within the meaning of G.S. 87-1 et seq. and was required by law to obtain a license;

(4) That Da Pow Developers, Inc., was a general contractor within the meaning of G.S. 87-1 et seq. and was required by law to secure a license for the erection of the Chateau Apartment project as described in the general construction contract;

(5) That both Da Pow Developers, Inc., and Reed Supply Company were and are required by law to be licensed as a general contractor to perform work on and/or furnish materials to the Chateau Apartment project described in the contracts; that neither was licensed for such purposes and that as between such corporations neither can enforce the obligations, terms and conditions of the subcontract entered into by and between them;

(6) That Daniel A. Vogel, Jr., and C. Whid Powell, Jr., partners, t/a Da Pow Developers Company, are third-party beneficiaries of the subcontract dated May 1, 1968, between Da Pow Developers, Inc., and Reed Supply Company and of the *125supplemental agreement between the same parties dated July 31, 1968; that it was the intention of both Da Pow Developers, Inc., and Reed Supply Company that said subcontract and supplemental agreement be for the benefit of Da Pow Developers Company;

(7) That the cause of action of Da Pow Developers Company is not derivative from the rights of either Da Pow Developers, Inc., or Reed Supply Company in that Da Pow Developers Company was and is the owner of the subject land and is, therefore, among that class of persons and entities to be protected by the licensing provisions of G.S. 87-1, et seq.;

(8) That Da Pow Developers Company is not in pari delicto with any of the unlicensed parties to the contracts and is entitled to maintain its action against Reed Supply Company by virtue of its status as a third party beneficiary of the subcontract and supplemental agreement between the general contractor and the subcontractor.

Based upon the findings of fact and conclusions of law, it was ordered and adjudged, inter alia:

1. That the motions of Da Pow Developers, Inc., joined in by the partnership Da Pow Developers Company, for summary judgments against Reed Supply Company be allowed and the claims of Reed Supply Company in both actions be dismissed and the notices of liens filed or served by Reed Supply Company be discharged and ordered cancelled of record;

2. That the motions of Reed Supply Company for summary judgments against Da Pow Developers, Inc., be allowed and the claims of Da Pow Developers, Inc., in both actions be dismissed;

3. That the motions of Reed Supply Company for summary judgments against Da Pow Developers Company be denied;

4. That any and all remaining claims asserted in 69-CVS-46 be dismissed as being identical to those claims remaining in 69-CYS-41, and that Da Pow Developers Company be allowed to proceed with the prosecution of its claim against Reed Supply Company in 69-CVS-41.

Reed Supply Company appealed to the Court of Appeals assigning errors noted in the opinion. We allowed motion to bypass, and the cases are here for review by the Supreme Court in the first instance.

*126 Morgan, Byerly, Post & Keziah by William L. Johnson, Jr., Attorneys for Reed Supply Company, appellant.

Fairley, Hamrick, Monteith & Cobb by James D. Monteith and Newsom, Graham, Strayhorn & Hedrick by Josiah S. Murray III, Attorneys for Daniel A. Vogel, Jr. and C. Whid Powell, Jr., t/a Da Pow Developers Company, a partnership, appellee.

Nye & Mitchell by R. Roy Mitchell, Attorneys for Da Pow Developers, Inc., Appellee.

HUSKINS, Justice.

FIRST CASE (69-CVS-41)

[1] Unless the landowner (Da Pow Developers Company) is a third-party beneficiary of the subcontract between the general contractor (Da Pow Developers, Inc.) and the subcontractor (Reed Supply Company), an action by the landowner against the subcontractor for breach of the subcontract cannot be maintained, and Reed’s motion for summary judgment in the first case (69-CVS-41) must be allowed. Rule 56, Rules of Civil Procedure. “If the contract was not made for the benefit of the third party, he has no cause of action upon the contract to enforce it, or sue for its breach. Land Co. v. Realty Co., 207 N.C. 453, 177 S.E. 335.” Trust Co. v. Processing Co., 242 N.C. 370, 379, 88 S.E. 2d 233, 239 (1955).

The practice of allowing third-party beneficiaries not in privity of contract to bring an action in their own name to enforce the contract made for their benefit was recognized in North Carolina as early as 1842. Cox v. Skeen, 24 N.C. 220 (2 Ired. L.), 38 Am. Dec. 691. The leading case, however, is Lawrence v. Fox, 20 N.Y. 268 (1859), where it is stated that “the law operating on the act of the parties creates a duty, establishes a privity, and implies the promise and obligation on which the action is founded.”

The fiction of an implied privity has been abandoned in more recent times, but there has been no substantial agreement on the precise theoretical basis with which privity is replaced. See Note, Third Party Beneficiaries and the Intention Standard: A Search For Rational Contract Decision-Making, 54 Va. L. Rev. 1166 (1968) ; Note, The Third Party Beneficiary Concept: A Proposal, 57 Colum. L. Rev. 406 (1957). Nevertheless, there *127is general agreement that a third party may enforce a contract to which he was not privy but which was made for his benefit. See Annotation, Right of Third Person to Enforce Contract Between Others For His Benefit, 81 A.L.R. 1271.

The American Law Institute’s Restatement of Contracts provides a convenient framework for analysis. Third party beneficiaries are divided into three groups: donee beneficiaries, where it appears that the “purpose of the promisee in obtaining the. promise of all or part of the performance thereof is to make a gift to the beneficiary”; creditor beneficiaries, where “no purpose to make a gift appears” and “performance of the promise will satisfy an actual or supposed or asserted duty of the promisee to the beneficiary”; and incidental beneficiaries, where the facts do not appear to support inclusion in either of the above categories. Restatement of Contracts § 138 (1932). While duties owed to donee beneficiaries and creditor beneficiaries are enforceable by them, Restatement of Contracts §§ 135, 136, a promise of incidental benefit does not have the same effect. “An incidental beneficiary acquires by virtue of the promise no right against the promisor or the promisee.” Restatement of Contracts § 147.

The commentators have adopted the analytical framework of the Restatement, and many courts have followed suit. 4 Corbin on Contracts § 774; Simpson on Contracts § 116; 2 Williston on Contracts (Jaeger, 3rd Edition) § 356; Fidelity and Casualty Co. v. Plumbing Department Store, 117 Fla. 119, 157 So. 506 (1934); La Mourea v. Rhude, 209 Minn. 53, 295 N.W. 304 (1941); Borough, of Brooklawn v. Brooklawn Housing Corp., 124 N.J.L. 73, 11 A. 2d 83 (1940); Kelly v. Richards, 95 Utah 560, 83 P. 2d 731, 129 A.L.R. 164 (1938); Mackubin v. Curtiss-Wright Corp., 190 Md. 52, 57 A. 2d 318 (1948); Pettus v. Olga Coal Co., 137 W. Va. 492, 72 S.E. 2d 881 (1952); Ridder v. Blethen, 24 Wash. 2d 552, 166 P. 2d 834 (1946).

While North Carolina has never explicitly adopted the analytical framework of the Restatement, the principles applicable to incidental beneficiaries were noted in Chipley v. Morrell, 228 N.C. 240, 45 S.E. 2d 129 (1947), and Trust Co. v. Processing Co., supra (242 N.C. 370, 88 S.E. 2d 233). Even so, the law in this State as to direct third party beneficiaries is synonymous with the Restatement categories of donee and creditor beneficiaries. Trust Co. v. Processing Co., supra. Restatement § 133 *128correctly states the law of this State and we therefore expressly approve the Restatement formula.

Plaintiff landowner relies on Brown v. Construction Co., 236 N.C. 462, 73 S.E. 2d 147 (1952); Gaither Corp. v. Skinner, 238 N.C. 254, 77 S.E. 2d 659 (1953); and Quenby Corp. v. Conner Co., 272 N.C. 208, 158 S.E. 2d 18 (1967). The Gaither and Quenby decisions were based on the law as to joinder of parties, and therefore are not authoritative for the proposition for which they are cited. Any support for plaintiff’s position contained therein is merely obiter dictum. The Brown case, moreover, concerned a non-delegable duty assumed by contract and imposed by operation of law which defendant Construction Company sought unsuccessfully to escape by assignment to a subcontractor. That case is not authoritative on the question before us.

Defendant Reed Supply Company, on the other hand, relies on Trust Co. v. Processing Co., supra (242 N.C. 370, 88 S.E. 2d 233) and Board of Education v. Deitrick, 221 N.C. 38, 18 S.E. 2d 704 (1942), as well as the Restatement of Contracts. The Trust Company case supports the proposition that a third person may sue to enforce a binding contract made for his direct benefit but not where the benefit to him is only incidental. In Deitrick, the general contractor attempted to join the materialman as code-fendant in a suit by the landowner against the contractor for breach of contract. Since there was no privity between plaintiff landowner and the materialman, the motion for joinder was properly denied. All cases from other jurisdictions cited by Reed concern privity, and privity is not relevant to the determination of third party beneficiary problems in North Carolina. Trust Co. v. Processing Co., supra.

[2] We must therefore analyze the facts to determine whether plaintiff landowner is a creditor beneficiary or merely an incidental beneficiary. The intention of the parties to the subcontract is of paramount importance. “As a general proposition, the determining factor as to the rights of a third party beneficiary is the intention of the parties who actually made the contract. The real test is said to be whether the contracting parties intended that a third person should receive a benefit which might be enforced in the courts.” 17 Am. Jur. 2d, Contracts § 304. It is not sufficient that the contract does benefit him if in fact it was not intended for his direct benefit. Robins Drydock *129 and Repair Co. v. Flint, 275 U.S. 303, 72 L. ed 290, 48 S. Ct. 134 (1927).

[1] In our view the subcontract here was not intended for the benefit of the plaintiff landowner. Plaintiff benefits only incidentally or indirectly because performance of the subcontract was rendered in fulfillment of Reed’s obligation to the general contractor. Hence, any benefit derived from the subcontract by the landowner would necessarily accrue indirectly, i.e., through the general contractor.

The Restatement itself contemplates that an owner in a construction contract be classified. as a mere incidental beneficiary of the contract between the general contractor and the subcontractor; thus it provides that an owner would acquire “no right against the promisor or the promisee” in consequence thereof. Restatement of Contracts § 147, Illustration 1. The performance of the subcontractor is not given or received in discharge of the obligation of the general contractor to the owner, but rather in discharge of the subcontractor’s own obligations to the general contractor.

Moreover, the text writers support this view. “A subcontractor, bound to the principal contractor to install the plumbing in C’s proposed building, is not liable for breach to C, the owner. The promised performance is here to be rendered to the principal contractor.” Simpson on Contracts § 116 at page 246. Accord, 4 Corbin on Contracts § 779D.

We therefore hold that plaintiff landowner in Case No. 69-CVS-41 is a mere incidental beneficiary of the construction subcontract between Reed and the general contractor. As such he cannot maintain against Reed a claim for damages for breach of the subcontract. It therefore follows as a matter of law that Reed’s motion for summary judgment in Case No. 69-CYS-41 should have been allowed. Rule 56, Rules of Civil Procedure.

SECOND CASE (69-CVS-46)

[3] It is conceded that neither the general contractor (Da Pow Developers, Inc.) nor the subcontractor (Reed Supply Company) were licensed as a general contractor pursuant to G.S. 87-1 et seq. The second case now under consideration presents for decision the following question: Was Reed Supply Company a “general contractor” under the definition contained in G.S. 87-1 and thus required to be licensed? If the answer to this question *130is yes, then Reed Supply Company cannot maintain an action either for enforcement or for breach of the subcontract between it and Da Pow Developers, Inc. “The purpose of Article 1 of Chapter 87 of the General Statutes, which prohibits any contractor who has not passed an examination and secured a license as therein provided from undertaking to construct a building costing $20,000.00 or more, is to protect the public from incompetent builders. When, in disregard of such a protective statute, an unlicensed person contracts with an owner to erect a building costing more than the minimum sum specified in the statute, he may not recover for the owner’s breach of that contract. This is true even though the statute does not expressly forbid such suits. 53 C.J.S., Licenses § 59 (1948); 33 Am. Jur., Licenses §§ 68-72 (1941) ; Annot., Failure of artisan or construction contractor to procure occupational or business license or permit as affecting validity or enforcement of contract, 82 A.L.R. 2d 1429 (1962); 5 Williston Contracts (Revised Edition 1937) § 1630; 6 Williston Contracts, Ibid. § 1766; 6A Corbin Contracts §§ 1510-1513.” Builders Supply v. Midyette, 274 N.C. 264, 162 S.E. 2d 507 (1968).

G.S. 87-1 reads in pertinent part as follows: “For the purpose of this article, a ‘general contractor’ is defined as one who for a fixed price, commission, fee or wage, undertakes to bid upon or to construct any building, highway, sewer main, grading or any improvement or structure where the cost of the undertaking is twenty thousand dollars ($20,000.00) or more and anyone who shall bid upon or engage in constructing any undertakings or improvements above mentioned in the State of North Carolina costing twenty thousand dollars ($20,000.00) or more shall be deemed and held to have engaged in the business of general contracting in the State of North Carolina.”

G.S. 87-13 provides that any unlicensed person, firm or corporation who shall contract for or bid upon the construction of any of the projects or works enumerated in § 87-1, without first having obtained a license, or who shall attempt to practice general contracting in this State without a license “shall be deemed guilty of a misdemeanor and shall for each such offense of which he is convicted be punished by a fine of not less than five hundred dollars or imprisonment of three months, or both fine and imprisonment in the discretion of the court.”

[4-6] Where the Legislature defines a word used in a statute, that definition is controlling even though the meaning may be *131contrary to its ordinary and accepted definition. Carter v. Carter, 232 N.C. 614, 61 S.E. 2d 711 (1950). Words and phrases of a statute “must be construed as a part of the composite whole and accorded only that meaning which other modifying provisions and the clear intent and purpose of the act will permit.” 7 Strong’s N. C. Index 2d, Statutes § 5; State v. Spencer, 276 N.C. 535, 173 S.E. 2d 765 (1970); Underwood v. Howland, Comr. of Motor Vehicles, 274 N.C. 473, 164 S.E. 2d 2 (1968); Watson Industries v. Shaw, Comr. of Revenue, 235 N.C. 203, 69 S.E. 2d 505 (1952). Criminal statutes, and statutes in derogation of the common law, must be strictly construed. State v. Ross, 272 N.C. 67, 157 S.E. 2d 712 (1967); State v. Brown, 264 N.C. 191, 141 S.E. 2d 311 (1965); Ellington v. Bradford, 242 N.C. 159, 86 S.E. 2d 925 (1955). This means that the scope of a penal statute may not be extended by implication beyond the meaning of its language so as to include offenses not clearly described. State v. Spencer, supra; State v. Hill, 272 N.C. 439, 158 S.E. 2d 329 (1967).

[7] The rule requiring statutes to be construed to effectuate the legislative intent applies also to criminal statutes. State v. Humphries, 210 N.C. 406, 186 S.E. 473 (1936); State v. Brown, 221 N.C. 301, 20 S.E. 2d 286 (1942). This Court, construing a criminal statute requiring the licensing of real estate brokers and salesmen, noted the criminal character of the statute and said: “For this reason, and for the further reason that it is a statute restricting to a special class of persons the right to engage in a lawful occupation, the act must be strictly construed so as not to extend it to activities and transactions not intended by the Legislature to be included.” McArver v. Gerukos, 265 N.C. 413, 144 S.E. 2d 277 (1965).

[8] Under the foregoing principles of statutory construction, the common law definition of “general contractor” is irrelevant in face of the explicit statutory language. Decision here must therefore turn on the meaning of the specific words contained in the statutory definition. These words must be construed strictly in favor of the plaintiff because the statute carries criminal penalties and is in derogation of “the right to engage in a lawful occupation.” Did the Legislature, by the use of the words “building,” “improvement,” and “structure,” intend to require subcontractors who undertake to furnish labor and materials in excess of $20,000.00 to construct integral parts of a *132large building complex to be licensed as general contractors? The answer is no.

Under the subcontract in this case Reed Supply Company was required to “furnish and erect exterior and interior wall panels, wood floor system subfloor, roof sheathing, bridging, trusses. Furnish and install windows, doors, base, shoe, soffit trim, plywood closures, masonite siding and louvers. Furnish only roofing and felt. Furnish and install shelving, door locks, door knockers. Furnish and complete painting. Furnish only entrance door frame.” A few minor items, including painting of the interior ceilings, were specifically excluded from the subcontract. It is apparent, and we think significant, that Reed did not undertake to construct a building or structure. Completion of the above items leaves much to be done before a building or a structure results. The words building and structure are synonymous. “They agree in meaning but differ slightly in application. ‘Structure’ retains more frequently than the other the sense of something constructed, often in a particular way.” Watson Industries v. Shaw, Comr. of Revenue, supra (235 N.C. 203, 69 S.E. 2d 505). A building is defined as “an edifice . . . a structure”; and a structure is defined as “that which is built or constructed; an edifice or building of any kind.” Black’s Law Dictionary, 4th Ed. Rev. 1968; Brown v. Sikes, 188 S.C. 288, 198 S.E. 854 (1938). So when the words building and structure are strictly construed, in context with the remainder of G.S. 87-1, they do not embrace parts or segments of a building or structure. They exclude any meaning the Legislature could have conveyed simply by adding the words “or any part thereof” following the word “structure” in line four of G.S. 87-1.

The term “improvement” does not have a definite and fixed meaning. Cities Service Gas Co. v. Christian, 340 P. 2d 929 (Okl. 1959). “The word ‘improvement’ is a relative and very comprehensive term, whose meaning must be ascertained from the context and the subject matter of the instrument in which it is used.” 42 C.J.S., Improvement, p. 416. The word is sometimes used to refer to any enhancement in value, particularly in relation to non-structural changes to land. Mazel v. Bain, 272 Ala. 640, 133 So. 2d 44 (1961). But where, as here, it is used in context with the words building and structu/re, its meaning is otherwise. As used here it connotes the performance of construction work and presupposes the prior existence of some structure to be improved. As used with reference to land, the word m-*133 provement presupposes the prior existence of the land itself. The construction in this case “started from scratch.” There was no existing building or structure to be improved, and in our view the term “improvement” as used in G.S. 87-1 has no application to the facts in this case. Black’s Law Dictionary, supra; 42 C.J.S., Improvement, supra; Masterson v. Atherton, 149 Conn. 302, 179 A. 2d 592 (1962); Douglaston Realty Co. v. Hess, 124 App. Div. 508, 108 N.Y.S. 1036 (1908).

[3] So, examining the statute in light of its purpose, we hold that Reed Supply Company was not a “general contractor” within the purview of G.S. 87-1 et seq. and was therefore not required to be licensed. The protection of the public is not involved because the general contractor stands between the owner and the subcontractor. If the owner is damaged he has his remedy against the general contractor. After all, the general contractor and not the owner selects the subcontractors. It would serve no public policy intended by Chapter 87 of the General Statutes to hold a subcontractor to be a general contractor within the purview of G.S. 87-1. Furthermore, if the Legislature had intended to include subcontractors in the class required to be licensed, it would have specifically so provided.

[9] What, then, is the status of the unlicensed general contractor with reference to the counterclaim against Reed Supply Company which it sets up in its answer?

[10] While Da Pow Developers, Inc., cannot enforce its contract against the owner by reason of its unlicensed status, it is not precluded on that account from enforcing the subcontract, or recovering damages for breach thereof, against Reed Supply Company. This is true because Reed Supply Company is not among the class of persons the Legislature intended to protect by enactment of G.S. 87-1 et seq. The purpose of that enactment, as declared by Sharp, J., for the Court, in Builders Supply v. Midyette, supra, is “to protect the public from incompetent builders.” The licensing statutes have no application to the rights and liabilities of contractors and subcontractors inter se where the public interest is not involved. The rule that contracts in contravention of public policy are not enforceable is based on the premise that no one can rightfully do “that which tends to injure the public or is detrimental to the public good.” A. C. Frost & Co. v. Coeur D’Alene Mines Corp., 312 U.S. 38, 85 L. ed 500, 61 S.Ct. 414 (1940). Even so, “if it definitely appears that enforcement of a contract will not be followed by injurious re-*134suits, then, generally at least, what the parties have agreed to ought not to be struck down on the ground of public policy.” 17 Am. Jur. 2d, Contracts § 174. Here, no injury to the public is apparent from enforcement of the subcontract between the parties to it.

[9] We therefore hold that Da Pow Developers, Inc., may not only defend against plaintiff’s demands but may also assert all lawful counterclaims properly pleaded in its answer in this case (69-CVS-46).

The rights, if any, of Eeed Supply Company against Da Pow Developers Company are not ripe for appellate review. Allegations of a fraudulent conveyance, which are denied, have not been passed upon in the trial court. The issue of priority of liens as between Reed Supply Company on the one hand and the Northwestern Bank and Provident Mutual Life Insurance Company of Philadelphia on the other has not been considered below. Since this case must be tried on its merits upon all issues properly raised by the pleadings, we refrain from further expression of opinion on these and other questions posed by this appeal.

These cases are remanded to the Superior Court of Orange County for further proceedings in accordance with this opinion.

Error and remanded.