Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Organization and Basis of Presentation The consolidated financial statements have been prepared in accordance with accounting principles generally accepted in the United States and include the accounts of Matrix Service Company (“Matrix” or the “Company”) and its subsidiaries, all of which are wholly owned. Intercompany transactions and balances have been eliminated in consolidation. The Company operates in the United States, Canada, South Korea, Australia and Colombia. The Company’s reportable segments are Electrical Infrastructure, Oil Gas & Chemical, Storage Solutions and Industrial. Use of Estimates The preparation of financial statements requires management to make estimates and assumptions that affect the amounts reported in the financial statements and accompanying notes. We believe the most significant estimates and judgments are associated with revenue recognition, the recoverability tests that must be periodically performed with respect to our goodwill and other intangible assets, valuation reserves on our accounts receivable and deferred tax assets, and the estimation of loss contingencies, including liabilities associated with litigation and with the self-insured retentions on our insurance programs. Actual results could materially differ from those estimates. Revenue Recognition Matrix records revenue on fixed-price contracts on a percentage-of-completion basis, primarily based on costs incurred to date compared to the total estimated contract cost. The Company records revenue on reimbursable and time and material contracts on a proportional performance basis as costs are incurred. Contracts in process are valued at cost plus accrued profits less billings on uncompleted contracts. Contracts are generally considered substantially complete when field construction is completed. The elapsed time from award of a contract to completion of performance may be in excess of one year. Matrix includes pass-through revenue and costs on cost-plus contracts, which are customer-reimbursable materials, equipment and subcontractor costs, when Matrix determines that it is responsible for the procurement and management of such cost components. Matrix has numerous contracts that are in various stages of completion which require estimates to determine the appropriate cost and revenue recognition. The Company has a history of making reasonably dependable estimates of the extent of progress towards completion, contract revenues and contract costs, and accordingly, does not believe significant fluctuations are likely to materialize. However, current estimates may be revised as additional information becomes available. If estimates of costs to complete fixed-price contracts indicate a loss, provision is made through a contract write-down for the total loss anticipated. A number of our contracts contain various cost and performance incentives and penalties that impact the earnings we realize from our contracts, and adjustments related to these incentives and penalties are recorded in the period, on a percentage-of-completion basis, when estimable and probable. Indirect costs, such as salaries and benefits, supplies and tools, equipment costs and insurance costs, are charged to projects based upon direct labor hours and overhead allocation rates per direct labor hour. Warranty costs are normally incurred prior to project completion and are charged to project costs as they are incurred. Warranty costs incurred subsequent to project completion were not material for the periods presented. Overhead allocation rates are established annually during the budgeting process. Precontract Costs Precontract costs are costs incurred in anticipation of obtaining a contract that will result in no future benefit unless the contract is obtained. The Company generally expenses precontract costs to cost of revenue as incurred, but, in certain cases their recognition may be deferred if specific criteria are met. We had no deferred precontract costs at June 30, 2017 or 2016. Change Orders and Claims Recognition Change orders are modifications of an original contract that effectively change the existing provisions of the contract. Change orders may include changes in specifications or designs, manner of performance, facilities, equipment, materials, sites and period of completion of the work. Matrix or our clients may initiate change orders. The client's agreement to the terms of change orders is, in many cases, reached prior to work commencing; however, sometimes circumstances require that work progress prior to obtaining client agreement. Costs related to change orders are recognized as incurred. Revenues attributable to change orders that are unapproved as to price or scope are recognized to the extent that costs have been incurred if the amounts can be reliably estimated and their realization is probable. Revenues in excess of the costs attributable to change orders that are unapproved as to price or scope are recognized only when realization is assured beyond a reasonable doubt. Change orders that are unapproved as to both price and scope are evaluated as claims. Claims are amounts in excess of the agreed contract price that we seek to collect from customers or others for delays, errors in specifications and designs, contract terminations, change orders in dispute or unapproved as to both scope and price or other causes of anticipated additional costs incurred by us. Recognition of amounts as additional contract revenue related to claims is appropriate only if it is probable that the claims will result in additional contract revenue and if the amount can be reliably estimated. We must determine if: • there is a legal basis for the claim; • the additional costs were caused by circumstances that were unforeseen by the Company and are not the result of deficiencies in our performance; • the costs are identifiable or determinable and are reasonable in view of the work performed; and • the evidence supporting the claim is objective and verifiable. If all of these requirements are met, revenue from a claim is recorded only to the extent that we have incurred costs relating to the claim. Unapproved change orders and claims are more fully discussed in Note 7—Contingencies. Cash and Cash Equivalents The Company includes as cash equivalents all investments with original maturities of three months or less which are readily convertible into cash. The Company had approximately $0.3 million of restricted cash related to a customer deposit at June 30, 2017 and 2016. We have cash on deposit at June 30, 2017 with banks in the United States, Canada, South Korea, Australia and Colombia in excess of Federal Deposit Insurance Corporation ("FDIC"), Canada Deposit Insurance Corporation ("CDIC"), Korea Deposit Insurance Corporation ("KDIC"), Financial Claims Scheme ("FCS") and Fondo de Garantias de Instituciones Financieras protection limits, respectively. The United States Dollar equivalent of Canadian, South Korean, Australian and Colombian deposits totaled $7.7 million as of June 30, 2017. Accounts Receivable Accounts receivable are carried on a gross basis, less the allowance for uncollectible accounts. The Company’s customers consist primarily of major integrated oil companies, steel companies, independent refiners and marketers, power companies, petrochemical companies, pipeline companies, mining companies, contractors and engineering firms. The Company is exposed to the risk of individual customer defaults or depressed cycles in our customers’ industries. To mitigate this risk many of our contracts require payment as projects progress or advance payment in some circumstances. In addition, in most cases the Company can place liens against the property, plant or equipment constructed or terminate the contract if a material contract default occurs. Management estimates the allowance for uncollectible accounts based on existing economic conditions, the financial condition of its customers and the amount and age of past due accounts. Accounts are written off against the allowance for uncollectible accounts only after all collection attempts have been exhausted. Retentions Contract retentions collectible beyond one year are included in Other Assets in the Consolidated Balance Sheets. Accounts payable retentions are generally settled within one year. Loss Contingencies Various legal actions, claims and other contingencies arise in the normal course of our business. Contingencies are recorded in the consolidated financial statements, or are otherwise disclosed, in accordance with ASC 450-20, “Loss Contingencies”. Specific reserves are provided for loss contingencies to the extent we conclude that a loss is both probable and estimable. We use a case-by-case evaluation of the underlying data and update our evaluation as further information becomes known. We believe that any amounts exceeding our recorded accruals should not materially affect our financial position, results of operations or liquidity. However, the results of litigation are inherently unpredictable and the possibility exists that the ultimate resolution of one or more of these matters could result in a material effect on our financial position, results of operations or liquidity. Legal costs are expensed as incurred. Inventories Inventories consist primarily of steel plate and pipe and aluminum coil and extrusions. Cost is determined primarily using the average cost method and inventories are stated at the lower of cost or net realizable value. Depreciation Depreciation is computed using the straight-line method over the estimated useful lives of the depreciable assets. Depreciable lives are as follows: buildings— 40 years, construction equipment— 3 to 15 years, transportation equipment— 3 to 5 years, and office equipment and software— 3 to 10 years. Leasehold improvements are amortized over the shorter of the useful life of the asset or the lease term. Impairment of Long-Lived Assets The Company evaluates long-lived assets for impairment when events or changes in circumstances indicate, in management’s judgment, that the carrying value of such assets used in operations may not be recoverable. The determination of whether an impairment has occurred is based on management’s estimate of undiscounted future cash flows attributable to the assets as compared to the carrying value of the assets. If an impairment has occurred, the amount of the impairment recognized is determined by estimating the fair value of the assets and, to the extent the carrying value exceeds the fair value of the assets, recording a loss provision. For assets identified to be disposed of in the future, the carrying value of the assets are compared to the estimated fair value less the cost of disposal to determine if an impairment has occurred. Until the assets are disposed of, an estimate of the fair value is redetermined when related events or circumstances change. Goodwill Goodwill represents the excess of the purchase price of acquisitions over the acquisition date fair value of the net identifiable tangible and intangible assets acquired. In accordance with current accounting guidance, goodwill is not amortized and is tested at least annually for impairment at the reporting unit level, which is a level below our reportable segments. We perform our annual test during the fourth quarter of each fiscal year and in any other period in which indicators of impairment warrant additional tests. The goodwill impairment test involves comparing management’s estimate of the fair value of a reporting unit with its carrying value, including goodwill. If the fair value of a reporting unit exceeds its carrying value, then goodwill is not impaired. If the fair value of a reporting unit is less than its carrying value, then goodwill is impaired to the extent of the difference, but the impairment may not exceed the balance of goodwill assigned to that reporting unit. Management utilizes a discounted cash flow analysis, referred to as an income approach, to determine the estimated fair value of our reporting units. Significant judgments and assumptions including the discount rate, anticipated revenue growth rate, gross margins, operating expenses, working capital needs and capital expenditures are inherent in these fair value estimates, which are based on our operating and capital budgets and on our strategic plan. As a result, actual results may differ from the estimates utilized in our income approach. The use of alternate judgments and/or assumptions could result in a fair value that differs from our estimate and could result in the recognition of an impairment charge in the financial statements. As a result of these uncertainties, we utilize multiple scenarios and assign probabilities to each of the scenarios in the income approach. We also consider the combined carrying values of our reporting units to our market capitalization. Other Intangible Assets Intangible assets that have finite useful lives are amortized by the straight-line method over their useful lives ranging from 1 year to 15 years. A finite intangible asset is considered impaired when its carrying amount is not recoverable and exceeds the asset's fair value. The carrying amount is deemed unrecoverable if it is greater than the sum of undiscounted cash flows expected to result from use and eventual disposition of the asset. An impairment loss is equal to the excess of the carrying amount over the fair value of the asset. If quoted market prices are not available, the fair values of the intangible assets are based on present values of expected future cash flows or royalties avoided using discount rates commensurate with the risks involved. Insurance Reserves We maintain insurance coverage for various aspects of our operations. However, we retain exposure to potential losses through the use of deductibles, coverage limits and self-insured retentions. We establish reserves for claims using a combination of actuarially determined estimates and case-by-case evaluations of the underlying claim data and update our evaluations as further information becomes known. Judgments and assumptions are inherent in our reserve accruals; as a result, changes in assumptions or claims experience could result in changes to these estimates in the future. If actual results of claim settlements are different than the amounts estimated we may be exposed to future gains and losses that could be material. Stock-Based Compensation The Company has issued stock options and nonvested deferred share awards under its long-term incentive compensation plans. The fair value of these awards is calculated at grant date. The fair value of time-based, nonvested deferred shares is the value of the Company’s common stock at the grant date. The fair value of market-based nonvested deferred shares is based on several factors, including the probability that the market condition specified in the grant will be achieved. The fair value of stock options is determined based on the Black-Scholes option pricing model. For all stock-based awards, expense is recognized over the requisite service period with forfeitures recorded as they occur. Income Taxes We use the asset and liability approach for financial accounting and reporting for income taxes. Deferred income tax assets and liabilities are computed annually for differences between the financial statement and tax bases of assets and liabilities that will result in taxable or deductible amounts in the future based on enacted tax laws and rates applicable to the periods in which the differences are expected to affect taxable income. Valuation allowances based on our judgments and estimates are established when necessary to reduce deferred tax assets to the amount expected to be realized in future operating results. Company management believes that realization of deferred tax assets in excess of the valuation allowance is more likely than not. Our estimates are based on facts and circumstances in existence as well as interpretations of existing tax regulations and laws applied to the facts and circumstances, with the help of professional tax advisors. Therefore, we estimate and provide for amounts of additional income taxes that may be assessed by the various taxing authorities. Foreign Currency The functional currencies of the Company’s operations in Canada, South Korea, Australia and Colombia are the Canadian Dollar, South Korean Won, U.S. Dollar and Colombian Peso, respectively. For subsidiaries with operations using a foreign functional currency, assets and liabilities are translated at the year end exchange rates and the income statement accounts are translated at average exchange rates throughout the year. Translation gains and losses are reported in Accumulated Other Comprehensive Income (Loss) in the Consolidated Statements of Changes in Stockholders’ Equity and in Other Comprehensive Income (Loss) in the Consolidated Statements of Comprehensive Income. Transaction gains and losses are reported as a component of Other income (expense) in the Consolidated Statements of Income. Recently Issued Accounting Standards Accounting Standards Update 2014-09, Revenue from Contracts with Customers (Topic 606) On May 28, 2014, the Financial Accounting Standards Board ("FASB") issued Accounting Standards Update ("ASU") No. 2014-09. The standard outlines a single comprehensive model for entities to use in accounting for revenue arising from contracts with customers and supersedes most current revenue recognition guidance, including industry-specific guidance. The core principle of the revenue model is that “an entity recognizes revenue to depict the transfer of promised goods or services to customers in an amount that reflects the consideration to which the entity expects to be entitled in exchange for those goods or services.” The ASU also requires entities to disclose both quantitative and qualitative information that enables users of financial statements to understand the nature, amount, timing, and uncertainty of revenue and cash flows arising from contracts with customers. The ASU's disclosure requirements are significantly more comprehensive than those in existing revenue standards. The ASU applies to all contracts with customers except those that are within the scope of other topics in the FASB Accounting Standards Codification ("ASC"). The ASU is effective for annual reporting periods beginning after December 15, 2017, including interim reporting periods within that reporting period. Early adoption is permitted on a limited basis. Management is currently evaluating the impact of adopting the ASU on the Company's financial position, results of operations, cash flows and related disclosures. Adoption of this ASU is expected to affect the manner in which the Company determines the unit of account for its projects (i.e., performance obligations). Under existing guidance, the Company may have multiple performance obligations for large, complex projects. Upon adoption, the Company expects that similar projects may have fewer performance obligations, possibly just one in some cases, which will result in a more constant recognition of revenue and profit over the term of the project. The Company will adopt this standard on July 1, 2018 using the modified retrospective method of application, which may result in a cumulative effect adjustment to retained earnings as of the date of adoption. Management has completed its review of the new revenue standard and is currently developing a plan to review its contracts in order to confirm its understanding of how the new standard will impact its revenue recognition policy, disclosures, processes and internal controls. At this time, we cannot reliably estimate the amount of any potential retrospective adjustment. Accounting Standards Update 2014-15, Presentation of Financial Statements—Going Concern (Subtopic 205-40): Disclosure of Uncertainties about an Entity’s Ability to Continue as a Going Concern On August 27, 2014, the FASB issued ASU 2014-15, which provides guidance on determining when and how reporting entities must disclose going-concern uncertainties in their financial statements. The new standard requires management to perform interim and annual assessments of an entity’s ability to continue as a going concern within one year of the date of issuance of the entity’s financial statements. Further, an entity must provide certain disclosures if there is “substantial doubt about the entity’s ability to continue as a going concern.” The ASU was adopted during the Company's first fiscal quarter ending September 30, 2016. In connection with the adoption of the ASU, the Company now performs an assessment of its ability to continue as a going concern on a quarterly basis. Disclosure regarding the status of the Company's ability to continue as a going concern is required when there are conditions or events that raise substantial doubt about its ability to continue as a going concern within one year after the date that the financial statements are issued. Accounting Standards Update 2015-16, Business Combinations (Topic 805): Simplifying the Accounting for Measurement-Period Adjustments On September 25, 2015, the FASB issued ASU 2015-16 to simplify the accounting for measurement-period adjustments. The ASU was issued in response to stakeholder feedback that restatements of prior periods to reflect adjustments made to provisional amounts recognized in a business combination increase the cost and complexity of financial reporting but do not significantly improve the usefulness of the information. Under the ASU, an acquirer must recognize adjustments to provisional amounts that are identified during the measurement period in the reporting period in which the adjustment amounts are determined. The ASU also requires acquirers to present separately on the face of the income statement, or disclose in the notes, the portion of the amount recorded in current-period earnings by line item that would have been recorded in previous reporting periods if the adjustment to the provisional amounts had been recognized as of the acquisition date. We adopted this standard on July 1, 2016 with no material impact to the Company's financial statements. Accounting Standards Update 2016-02, Leases (Topic 842) On February 25, 2016, the FASB issued ASU 2016-02. The amendments in this update require, among other things, that lessees recognize the following for all leases (with the exception of 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 control the use of, a specified asset for the lease term. Lessees and lessors must apply a modified retrospective transition approach for leases existing at, or entered into after, the beginning of the earliest comparative period presented in the financial statements. The ASU is effective for fiscal years beginning after December 15, 2018, including interim periods within those fiscal years. Early adoption is permitted, but we do not plan to do so at this time. We are currently evaluating the ASU's expected impact on our financial statements. See Note 8 - Operating Leases for more information about the timing and amount of future operating lease payments, which we believe is indicative of the materiality of adoption of the ASU to our financial statements. Accounting Standards Update 2016-09, Stock Compensation (Topic 718): Improvements to Employee Share-Based Payment Accounting On March 30, 2016, the FASB issued ASU 2016-09, which simplified several aspects of accounting for stock-based compensation transactions, including the accounting for income taxes and forfeitures and statutory tax withholding requirements. The Company adopted the ASU during its first fiscal quarter ending September 30, 2016. The following is a description of the key provisions of the ASU and their impacts to the Company's financial statements: Accounting for Income Taxes : The amendments require the Company to recognize excess tax benefits or tax deficiencies in its provision for income taxes in its consolidated statements of income during the period of vesting or exercise of its nonvested deferred share awards and stock options, respectively, for which it expects to receive an income tax deduction. Previously, the Company recognized any excess tax benefits in additional paid-in capital ("APIC") in the balance sheet and any tax deficiencies were recognized as a reduction of APIC to the extent the Company has accumulated excess tax benefits. Any tax deficiencies in excess of accumulated excess tax benefits in APIC were recognized in the provision for income taxes. The amendments also require the Company to only present excess tax benefits and tax deficiencies in the operating section of its statements of cash flows as a component of deferred tax activity. Previously, the Company was required to present such items in both the financing section and operating section of its statements of cash flows. Amendments related to the recognition of excess tax benefits and tax deficiencies in income are required to be applied prospectively, and amendments related to the cash flow statement presentation of excess tax benefits and tax deficiencies may be applied either retrospectively or prospectively. The Company applied the amendments requiring the recognition of excess tax benefits and tax deficiencies in income prospectively. As a result, the Company recognized $0.5 million of excess tax benefits in its provision for income taxes during the year ended June 30, 2017, which increased basic and diluted earnings per share by $0.02 . Under the prior accounting standard, the Company would have recognized the excess tax benefits in equity as APIC. The amendments relating to the presentation of excess tax benefits and tax deficiencies in the statement of cash flows were applied retrospectively. The effect of the retrospective adjustment was to eliminate the presentation of an operating cash outflow and a financing cash inflow for excess tax benefits on exercised stock options and vesting of deferred shares. These eliminations decreased net cash provided by operating activities by $3.3 million and decreased net cash used by financing activities by $3.3 million for the year ended June 30, 2016, and decreased net cash provided by operating activities by $1.8 million and increased cash provided by financing activities by $1.8 million for the year ended June 30, 2015. Net cash flows did not change in either year as a result of the retrospective adjustment. Accounting for Forfeitures : The amendments in this ASU allow the Company to elect, as a company-wide accounting policy, either to continue to estimate the amount of forfeitures to exclude from compensation expense or to exclude forfeitures from compensation expense as they occur. Upon the adoption of the ASU during the first quarter of fiscal 2017, the Company elected to account for forfeitures as they occur. The Company is required to apply these amendments on a modified retrospective basis with a cumulative adjustment to retained earnings as of the beginning of the fiscal year. The Company recorded a modified retrospective adjustment to reduce the June 30, 2016 retained earnings balance and increase the APIC balance by $0.1 million each. Statutory Tax Withholding Requirements : Under the prior accounting standard, an entire award must be classified as a liability if the fair value of the shares withheld exceeds the Company's minimum statutory withholding obligation. Under the ASU, the Company is allowed to withhold shares with a fair value up to the amount of tax owed using the maximum statutory tax rate in the employee's applicable jurisdictions. The Company is allowed to determine one maximum rate for all employees in each jurisdiction, rather than a rate for each employee in the jurisdiction. Also, the ASU requires that cash outflows to reacquire shares withheld for taxes to be classified in the financing section of the statement of cash flows. The Company adopted the ASU during the first quarter of fiscal 2017. Since the Company did not have any awards classified as liabilities due to statutory tax withholding requirements as of June 30, 2017, and since the Company already presented its cash outflows for reacquiring shares withheld for taxes as a financing activity in its statements of cash flows, these amendments did not have any impact on its financial statements upon adoption. The Company does not expect changes to employee withholdings for stock compensation to have a material impact to the financial statements. Accounting Standards Update 2016-13, Financial Instruments - Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments On June 16, 2016, the FASB issued ASU 2016-13, which will change how the Company accounts for its allowance for uncollectible accounts. The amendments in this update require a financial asset (or a group of financial assets) to be presented at the net amount expected to be collected. The income statement will reflect any increases or decreases of expected credit losses that have taken place during the period. The measurement of expected credit losses is based on relevant information about past events, including historical experience, current conditions, and reasonable and supportable forecasts that affect the collectibility of the reported amount. Current GAAP delays the recognition of the full amount of credit losses until the loss is probable of occurring. The amendments in this update eliminate the probable initial recognition threshold and, instead, reflect the Company's current estimate of all expected credit losses. In addition, current guidance limits the information the Company may consider in measuring a credit loss to its past events and current conditions. The amendments in this update broaden the information the Company may consider in developing its expected credit loss estimate to include forecasted information. The amendments in this update are effective for the Company on July 1, 2020 and the Company may early adopt on July 1, 2019. The Company must apply the amendments in this update through a cumulative-effect adjustment to retained earnings as of the beginning of the first reporting period in which the guidance is effective. At this time, the Company does not expect this update to have a material impact to its estimate of the allowance for uncollectible accounts. Accounting Standards Update 2017-04, Intangibles - Goodwill and Other (Topic 350): Simplifying the Test for Goodwill Impairment On January 26, 2017, the FASB issued ASU 2017-04, which simplifies the goodwill impairment test by eliminating step two from the procedure. Previously, goodwill was tested for impairment by performing a two-step test. The first step involves determining the fair value of a reporting unit and comparing it to the carrying amount of the reporting unit's net assets. If the fair value of the reporting unit is less than its carrying amount, then the goodwill assigned to that reporting unit is determined to be impaired and step two must then be completed to measure the amount of the impairment. Step two involved measuring the reporting unit's assets and liabilities at fair value following a process similar to determining the fair value of assets acquired and liabilities assumed in a business combination. The net fair value of the assets acquired and liabilities assumed was then compared to the fair value of the reporting unit in order to compute the implied goodwill for the reporting unit. The difference between the carrying amount of the reporting unit's goodwill and the amount of the implied goodwill computed was the amount of the goodwill impairment to be recognized. Under ASU 2017-04, instead of performing step two of the test, the Company will recognize an impairment charge to the extent a reporting unit's fair value is less than the carrying amount of its net assets, as indicated by step one of the test. The standard must be applied prospectively and must be adopted in fiscal years beginning after December 15, 2019. Early adoption is permitted and the Company adopted the ASU during its fourth fiscal quarter of 2017. The Company performed its annual goodwill impairment test on May 31, 2017 in accordance with the adopted ASU. Accounting Standards Update 2017-09, Compensation-Stock Compensation (Topic 718): Scope of Modification Accounting In May |