ORGANIZATION AND OPERATIONS OF THE COMPANY | 1. ORGANIZATION AND OPERATIONS OF THE COMPAN Y Willdan Group, Inc. (“Willdan”) is a provider of professional, technical and consulting services to utilities, private industry, and public agencies at all levels of government. As resources and infrastructures undergo continuous change, the Company helps organizations and their communities evolve and thrive by providing a wide range of technical services for energy solutions and government infrastructure. Through engineering, program management, policy advisory, and software and data management, the Company designs and delivers trusted, comprehensive, innovative, and proven solutions to improve efficiency, resiliency, and sustainability in energy and infrastructure. Basis of Presentation The Company has prepared its Consolidated Financial Statements in accordance with accounting principles generally accepted in the United States (“U.S. GAAP”). The consolidated statement of stockholders' equity includes repurchases of shares of our common stock from employees to satisfy tax withholding obligations incurred in connection with the vesting of restricted stock or performance stock units, which amount is presented as a reduction of additional paid-in capital and common stock. Fiscal Years The Company operates and reports its annual financial results based on 52 or 53-week periods ending on the Friday closest to December 31. The Company operates and reports its quarterly financial results based on the 13-week period ending on the Friday closest to June 30, September 30, and December 31 and the 13 or 14-week period ending on the Friday closest to March 31, as applicable. Fiscal year 2020, which ended on January 1, 2021, was comprised of 53 weeks, with the first quarter consisting of 14 weeks and the remaining quarters consisting of 13 weeks each. Fiscal year 2019, which ended on December 27, 2019, and fiscal year 2018, which ended on December 28, 2018, was comprised of 52 weeks, with all quarters presented consisting of 13 weeks. All references to years in the notes to consolidated financial statements represent fiscal years. Principles of Consolidation The consolidated financial statements include the accounts of Willdan Group, Inc. and its wholly-owned subsidiaries and their respective subsidiaries. All significant intercompany balances and transactions have been eliminated in consolidation. Reclassifications Certain prior year amounts have been reclassified in the condensed consolidated balance sheets to conform to the current year presentation. Use of Estimates The preparation of consolidated financial statements in conformity with generally accepted accounting principles in the U.S. requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the date of the consolidated financial statements. Estimates also affect the reported amounts of revenue and expenses during the reporting period. Actual results could differ from those estimates. Cash and Cash Equivalents All highly liquid investments purchased with a remaining maturity of three months or less are considered to be cash equivalents. The Company from time to time may be exposed to credit risk with its bank deposits in excess of the FDIC insurance limits and with uninsured money market investments. The Company has not experienced any losses in such accounts and believes it is not exposed to any significant credit risk on cash and cash equivalents. Fair Value of Financial Instruments The Company uses the three-tier hierarchy of fair value measurement, which prioritizes the inputs. These tiers include: Level 1 (the highest priority), defined as observable inputs, such as quoted prices in active markets, Level 2, defined as inputs other than quoted prices in active markets that are either directly or indirectly observable; and Level 3 (the lowest priority), defined as unobservable inputs in which little or no market data exists, therefore requiring an entity to develop its own assumptions. The Company’s financial instruments consist primarily of cash, cash equivalents, accounts receivable, contract assets, other receivables, prepaid expenses and other current assets, accounts payable, accrued liabilities and contract liabilities. The carrying amounts of certain other assets and contingent consideration are discounted to their present value because the time between the origination of these instruments and their expected realization or payment is greater than one year. As of January 1, 2021 and December 27, 2019, the carrying amounts of the Company's cash and cash equivalents, accounts receivable, contract assets, other receivables, prepaid expenses and other current assets, accounts payable, accrued liabilities and contract liabilities, approximate their fair values because of the relatively short period of time between the origination of these instruments and their expected realization or payment. The carrying amounts of debt obligations approximate their fair values since the terms are comparable to terms currently offered by local lending institutions for loans of similar terms to companies with comparable credit risk. The carrying amounts of the derivative financial instrument is valued based on Level 2 inputs. Variable Interest Entities The Company accounts for variable interest entities in accordance with Accounting Standards Codification (“ASC”) 810, Consolidation. Under ASC 810, a variable interest entity (“VIE”) is created when any of the following criteria are present: (a) the equity investment at risk in the entity is not sufficient to permit the entity to finance its activities without additional subordinated financial support provided by other parties, including the equity holders; (b) the entity’s equity holders as a group either (i) lack the direct or indirect ability to make decisions about the entity, (ii) are not obligated to absorb expected losses of the entity or (iii) do not have the right to receive expected residual returns of the entity; or (c) the entity’s equity holders have voting rights that are not proportionate to their economic interests, and the activities of the entity involve or are conducted on behalf of the equity holder with disproportionately few voting rights. If an entity is deemed to be a VIE pursuant to ASC 810, the enterprise that has both (i) the power to direct the activities of a VIE that most significantly impact the entity’s economic performance and (ii) the obligation to absorb the expected losses of the entity or right to receive benefits from the entity that could be potentially significant to the VIE is considered the primary beneficiary and must consolidate the VIE. In accordance with ASC 810, the Company performs ongoing reassessments of whether an enterprise is the primary beneficiary of a VIE. As of January 1, 2021, the Company had one VIE — Genesys Engineering, P.C. (“Genesys”). Pursuant to New York law, the Company does not own capital stock of Genesys and does not have control over the professional decision making of Genesys’s engineering services. The Company, however, has entered into an administrative services agreement with Genesys pursuant to which WES, the Company’s wholly-owned subsidiary, will provide Genesys with ongoing administrative, operational and other non-professional support services. The Company manages Genesys and has the power to direct the activities that most significantly impact Genesys’s performance, in addition to being obligated to absorb expected losses from Genesys. Accordingly, the Company is the primary beneficiary of Genesys and consolidates Genesys as a VIE. Management also concluded there is no noncontrolling interest related to the consolidation of Genesys because management determined that (i) the shareholder of Genesys does not have more than a nominal amount of equity investment at risk, (ii) WES absorbs the expected losses of Genesys through its deferral of Genesys’s service fees owed to WES and the Company has, since entering into the administrative services agreement, had to continuously defer service fees for Genesys, and (iii) the Company believes Genesys will continue to have a shortfall on payment of its service fees for the foreseeable future, leaving no expected residual returns for the shareholder. For more information regarding Genesys, see Note 8 “Commitments and Variable Interest Entities.” Segment Information The Company presents segment information externally consistent with the manner in which the Company’s chief operating decision maker reviews information to assess performance and allocate resources. The Company’s two segments are (i) Energy, and (ii) Engineering and Consulting. Willdan Group, Inc. (“WGI”) is a holding company and performs administrative functions on behalf of its subsidiaries, such as treasury, legal, accounting, information systems, human resources and certain business development activities, and earns revenue that is only incidental to the activities of the enterprise. As a result, WGI does not meet the definition of an operating segment. Contract Assets and Liabilities Billing practices are governed by the contract terms of each project based upon costs incurred, achievement of milestones or pre-agreed schedules. Billings do not necessarily correlate with revenue recognized using the percentage-of-completion method of revenue recognition. Contract assets include unbilled amounts typically resulting from revenue under contracts where the percentage-of-completion method of revenue recognition is utilized and revenue recognized exceeds the amount billed to the customer. In addition, contract assets include retainage amounts withheld from billings to the Company’s clients pursuant to provisions in our contracts. Contract liabilities consist of advance payments and billings in excess of revenue recognized and deferred revenue. Adoption of ASC 606 On December 30, 2017, the Company adopted ASC 606, using the modified retrospective method applied to those contracts which were not completed as of December 29, 2017. Prior to adopting ASC 606, the Company established an implementation team, which included senior managers from its finance and accounting group. The implementation team evaluated the impact of adopting ASC 606 on its contracts expected to be uncompleted as of December 30, 2017 (the date of adoption). The evaluation included reviewing its accounting policies and practices to identify differences that would result from applying the requirements of the new standard. The Company identified and made changes to its processes, systems and controls to support recognition and disclosure under the new standard. The implementation team worked closely with various professional consultants and attended several formal conferences and seminars to conclude on certain interpretative issues. The Company recognizes engineering and consulting contract revenue over time using the percentage-of-completion method, based primarily on contract cost incurred to date compared to total estimated contract cost. Revenue on the vast majority of its contracts will continue to be recognized over time because of the continuous transfer of control to the customer. Revenue recognition for software licenses issued by the Energy segment is recognized at a point in time, upon acceptance of the software by the customer and in recognition of the fulfillment of the performance obligation. Certain additional performance obligations beyond the base software license may be separated from the gross license fee and recognized on a straight-line basis over time. Contract Accounting The Company enters into contracts with its clients that contain various types of pricing provisions, including fixed price, time-and-materials, and unit-based provisions. The Company recognizes revenues in accordance with ASU 2014-09, Revenue from Contracts with Customer, codified as ASC Topic 606 and the related amendments (collectively “ASC 606”). As such, the Company identifies a contract with a customer, identifies the performance obligations in the contract, determines the transaction price, allocates the transaction price to each performance obligation in the contract and recognizes revenues when (or as) the Company satisfies a performance obligation. The following table reflects the Company’s two reportable segments and the types of contracts that each most commonly enters into for revenue generating activities. Segment Contract Type Revenue Recognition Method Time-and-materials Time-and-materials Energy Unit-based Unit-based Software license Unit-based Fixed price Percentage-of-completion Time-and-materials Time-and-materials Engineering and Consulting Unit-based Unit-based Fixed price Percentage-of-completion Revenue on the vast majority of the Company’s contracts will continue to be recognized over time because of the continuous transfer of control to the customer. Revenue on fixed price contracts is recognized on the percentage-of-completion method based generally on the ratio of direct costs incurred-to-date to estimated total direct costs at completion. The Company uses the percentage-of-completion method to better match the level of work performed at a certain point in time in relation to the effort that will be required to complete a project. In addition, the percentage-of-completion method is a common method of revenue recognition in the Company’s industry. Many of the Company’s fixed price contracts involve a high degree of subcontracted fixed price effort and are relatively short in duration, thereby lowering the risks of not properly estimating the percent complete. Revenue on time-and-materials and unit-based contracts is recognized as the work is performed in accordance with the specific rates and terms of the contract. The Company recognizes revenues for time-and-materials contracts based upon the actual hours incurred during a reporting period at contractually agreed upon rates per hour and also includes in revenue all reimbursable costs incurred during a reporting period. Certain of the Company’s time-and-materials contracts are subject to maximum contract values and, accordingly, when revenue is expected to exceed the maximum contract value, these contracts are generally recognized under the percentage-of-completion method, consistent with fixed price contracts. For unit-based contracts, the Company recognizes the contract price of units of a basic production product as revenue when the production product is delivered during a period. Revenue recognition for software licenses issued by the Energy segment is generally recognized at a point in time, utilizing the unit-based revenue recognition method, upon acceptance of the software by the customer and in recognition of the fulfillment of the performance obligation. Certain additional performance obligations beyond the base software license may be separated from the gross license fee and recognized on a straight-line basis over time. Revenue for amounts that have been billed but not earned is deferred, and such deferred revenue is referred to as contract liabilities in the accompanying condensed consolidated balance sheets. To determine the proper revenue recognition method for contracts, the Company evaluates whether two or more contracts should be combined and accounted for as one single contract and whether the combined contract should be accounted for as one performance obligation. With respect to the Company’s contracts, it is rare that multiple contracts should be combined into a single performance obligation. This evaluation requires significant judgment and the decision to combine a group of contracts or separate a single contract into multiple performance obligations could change the amount of revenue and profit recorded in a given period. Contracts are considered to have a single performance obligation if the promise to transfer the individual goods or services is not separately identifiable from other promises in the contracts, which is mainly because the Company provides a significant service of integrating a complex set of tasks and components into a single project or capability. The Company may enter into contracts that include separate phases or elements. If each phase or element is negotiated separately based on the technical resources required and/or the supply and demand for the services being provided, the Company evaluates if the contracts should be segmented. If certain criteria are met, the contracts would be segmented which could result in revenues being assigned to the different elements or phases with different rates of profitability based on the relative value of each element or phase to the estimated total contract revenue. Segmented contracts may comprise up to approximately 2.0% to 3.0% of the Company’s consolidated contract revenue. Contracts that cover multiple phases or elements of the project or service lifecycle (development, construction and maintenance and support) may be considered to have multiple performance obligations even when they are part of a single contract. For contracts with multiple performance obligations, the Company allocates the transaction price to each performance obligation using the best estimate of the standalone selling price of each distinct good or service in the contract. For the periods presented, the value of the separate performance obligations under contracts with multiple performance obligations (generally measurement and verification tasks under certain energy performance contracts) were not material. In cases where the Company does not provide the distinct good or service on a standalone basis, the primary method used to estimate standalone selling price is the expected cost plus a margin approach, under which the Company forecasts the Company’s expected costs of satisfying a performance obligation and then adds an appropriate margin for the distinct good or service. The Company provides quality of workmanship warranties to customers that are included in the sale and are not priced or sold separately or do not provide customers with a service in addition to assurance of compliance with agreed-upon specifications and industry standards. The Company does not consider these types of warranties to be separate performance obligations. In some cases, the Company has a master service or blanket agreement with a customer under which each task order releases the Company to perform specific portions of the overall scope in the service contract. Each task order is typically accounted for as a separate contract because the task order establishes the enforceable rights and obligations, and payment terms. Under ASC 606, variable consideration should be considered when determining the transaction price and estimates should be made for the variable consideration component of the transaction price, as well as assessing whether an estimate of variable consideration is constrained. For certain of the Company’s contracts, variable consideration can arise from modifications to the scope of services resulting from unapproved change orders or customer claims. Variable consideration is included in the transaction price to the extent it is probable that a significant reversal of cumulative revenue recognized will not occur when the uncertainty associated with the variable consideration is resolved. The Company estimates of variable consideration and determination of whether to include estimated amounts in the transaction price are based largely on assessments of legal enforceability, the Company’s performance, and all information (historical, current and forecasted) that is reasonably available to the Company. Due to the nature of the work required to be performed on many of the Company’s performance obligations, the estimation of total revenue and cost at completion is complex, subject to many variables and requires significant judgment. As a significant change in one or more of these estimates could affect the profitability of the Company’s contracts, the Company reviews and updates the Company’s contract-related estimates regularly through a company-wide disciplined project review process in which management reviews the progress and execution of the Company’s performance obligations and the estimate at completion (EAC). As part of this process, management reviews information including, but not limited to, any outstanding key contract matters, progress towards completion and the related program schedule and the related changes in estimates of revenues and costs. Management must make assumptions and estimates regarding labor productivity and availability, the complexity of the work to be performed, the cost and availability of materials, the performance of subcontractors, and the availability and timing of funding from the customer, among other variables. The Company recognizes adjustments in estimated profit on contracts under the cumulative catch-up method. Under this method, the impact of the adjustment on profit recorded to date is recognized in the period the adjustment is identified. Revenue and profit in future periods of contract performance is recognized using the adjusted estimate. If at any time the estimate of contract profitability indicates an anticipated loss on the contract, the Company recognizes the full amount of estimated loss in the period it is identified. Contracts are often modified to account for changes in contract specifications and requirements. The Company considers contract modifications to exist when the modification either creates new rights or obligations or changes the existing enforceable rights or obligations. Most of the Company’s contract modifications are for goods or services that are not distinct from existing contracts due to the significant integration provided in the context of the contract and are accounted for as if they were part of the original contract. The effect of a contract modification that is not distinct from the existing contract on the transaction price and the Company’s measure of progress for the performance obligation to which it relates is recognized as an adjustment to revenue (either as an increase in or a reduction of revenue) on a cumulative catch-up basis. For contract modifications that result in the promise to deliver goods or services that are distinct from the existing contract and the increase in price of the contract is for the same amount as the standalone selling price of the additional goods or services included in the modification, the Company accounts for such contract modifications as a separate contract. The Company includes claims to vendors, subcontractors and others as a receivable and a reduction in recognized costs when enforceability of the claim is established by the contract and the amounts are reasonably estimable and probable of being recovered. The amounts are recorded up to the extent of the lesser of the amounts management expects to recover or to costs incurred. Billing practices are governed by the contract terms of each project based upon costs incurred, achievement of milestones or pre-agreed schedules. Billings do not necessarily correlate with revenue recognized using the percentage-of-completion method of revenue recognition. Direct costs of contract revenue consist primarily of that portion of technical and nontechnical salaries and wages that has been incurred in connection with revenue producing projects. Direct costs of contract revenue also include production expenses, subcontractor services and other expenses that are incurred in connection with revenue producing projects. Direct costs of contract revenue exclude that portion of technical and nontechnical salaries and wages related to marketing efforts, vacations, holidays and other time not spent directly generating revenue under existing contracts. Such costs are included in general and administrative expenses. Additionally, payroll taxes, bonuses and employee benefit costs for all Company personnel are included in general and administrative expenses in the accompanying consolidated statements of comprehensive income since no allocation of these costs is made to direct costs of contract revenue. No allocation of facilities costs is made to direct costs of contract revenue. Other companies may classify as direct costs of contract revenue some of the costs that the Company classifies as general and administrative costs. The Company expenses direct costs of contract revenue when incurred. Included in revenue and costs are all reimbursable costs for which the Company has the risk or on which the fee was based at the time of bid or negotiation. No revenue or cost is recorded for costs in which the Company acts solely in the capacity of an agent and has no risks associated with such costs. Accounts receivable are carried at original invoice amount less an estimate made for doubtful accounts based upon a review of all outstanding amounts on a quarterly basis. Management determines allowances for doubtful accounts through specific identification of amounts considered to be uncollectible and potential write-offs, plus a non-specific allowance for other amounts for which some potential loss has been determined to be probable based on current and past experience. The Company’s historical credit losses have been minimal with governmental entities and large public utilities, but disputes may arise related to these receivable amounts. Accounts receivable are written off when deemed uncollectible. Recoveries of accounts receivable previously written off are recorded when received. Retainage, included in contract assets, represents amounts withheld from billings to the Company’s clients pursuant to provisions in the contracts and may not be paid to the Company until specific tasks are completed or the project is completed and, in some instances, for even longer periods. At January 1, 2021 and December 27, 2019, contract assets included retainage of approximately $6.2 million and $5.4 million, respectively. In addition to the above, the Company derives revenue from software licenses and professional services and maintenance fees. In accordance with ASC 606, the Company performs an assessment of each contract to identify the performance obligations, determine the overall transaction price for the contract, allocate the transaction price to the performance obligations, and recognize the revenue when the performance obligations are satisfied. The Company utilizes the residual approach by which it estimates the standalone selling price by reference to the total transaction price less the sum of the observable standalone selling prices of other goods or services promised in the contract. The software license revenue is typically recognized at a point in time when control is transferred to the client, which is defined as the point in time when the client can use and benefit from the license. The software license is delivered before related services are provided and is functional without services, updates, or technical support. Related professional services include training and support services in which the standalone selling price is determined based on an input measure of hours incurred to total estimated hours and is recognized over time, usually which is the life of the contract. General and Administrative Expenses General and administrative expenses include the costs of the marketing and support staff, other marketing expenses, management and administrative personnel costs, payroll taxes, bonuses and employee benefits for all of the Company’s employees and the portion of salaries and wages not allocated to direct costs of contract revenue for those employees who provide the Company’s services. General and administrative expenses also include facility costs, depreciation and amortization, professional services, legal and accounting fees and administrative operating costs. Within general and administrative expenses, “Other” includes expenses such as provision for billed or unbilled receivables, professional services, legal and accounting, computer costs, travel and entertainment, marketing costs and acquisition costs. The Company expenses general and administrative costs when incurred. Leases In February 2016, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) No. 2016-02, Leases (Topic 842) (“ASU 2016-02”). ASU 2016-02 require, among other things, that lessees recognize the following for all leases (unless a policy election is made by class of underlying asset to exclude short-term leases) at the commencement date: (1) a lease liability, which is a lessee’s obligation to make lease payments arising from a lease, measured on a discounted basis; and (2) a right-of-use asset, which is an asset that represents the lessee’s right to use, or the direct use of, a specified asset for the lease term. The FASB issued ASU 2018-11 on July 30, 2018, which allows entities to apply the provisions of ASC 842 at the effective date without adjusting comparative periods. On December 29, 2018, the Company adopted ASU 2016-02 using the modified retrospective method. Under this guidance, the net present value of future lease payments is recorded as right-of-use assets and lease liabilities. In addition, the Company elected the ‘package of practical expedients’ permitted under the transition guidance within the new standard, which among other things, allowed the Company to carry forward the historical lease classification. In addition, the Company elected not to utilize the hindsight practical expedient to determine the lease term for existing leases. The Company also elected the practical expedient to not separate lease and non-lease components for its facilities leases. Previously, all of the Company’s office leases were classified as operating leases and rent expense was included in facilities expense in the consolidated statements of comprehensive income. In addition, the Company leases certain equipment under financing leases. The economic substance of the leases is a financing transaction for acquisition of equipment and leasehold improvements. Accordingly, the right-of-use assets for these leases are included in the balance sheets in equipment and leasehold improvements, net of accumulated depreciation, with a corresponding amount recorded in current portion of financing lease obligations or noncurrent portion of financing lease obligations, as appropriate. The financing lease assets are amortized over the life of the lease or, if shorter, the life of the leased asset, on a straight-line basis and included in depreciation expense in the statements of comprehensive income. The interest associated with financing lease obligations is included in interest expense in the statements of comprehensive income. For more information, see Note 2, “ Recent Accounting Pronouncements Leases Equipment and Leasehold Improvements Equipment and leasehold improvements are stated at cost less accumulated depreciation and amortization. Equipment under capital leases is stated at the present value of the minimum lease payments as of the acquisition date. Depreciation and amortization on equipment are calculated using the straight-line method over estimated useful lives of two Following are the estimated useful lives used to calculate depreciation and amortization: Category Estimated Useful Life Furniture and fixtures 5 years Computer hardware 3 years Computer software 3 years Automobiles and trucks 3 years Field equipment 5 years Goodwill Goodwill represents the excess of costs over fair value of the assets acquired. The Company completes its annual testing of goodwill as of the last day of the first month of its fourth fiscal quarter each year to determine whether there is impairment. Goodwill, which has an indefinite useful life, is not amortized, but instead tested for impairment at least annually or more frequently if events and circumstances indicate that the asset might be impaired. Impairment losses for reporting units are recognized to the extent that a reporting unit’s carrying amount exceeds its fair value. Long-lived assets Long-lived assets, such as equipment, leasehold improvements and purchased intangible assets subject to amortization are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. Recoverability of assets to be held and used is measured by a comparison of the carrying amount of an asset to estimated undiscounted future cash flows expected to be generated by the |