Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Business Description UniFirst Corporation (the “Company”) is one of the largest providers of workplace uniforms and protective clothing in the United States. The Company designs, manufactures, personalizes, rents, cleans, delivers, and sells a wide range of uniforms and protective clothing, including shirts, pants, jackets, coveralls, lab coats, smocks, aprons and specialized protective wear, such as flame resistant and high visibility garments. The Company also rents and sells industrial wiping products, floor mats, facility service products and other non-garment items, and provides restroom and cleaning supplies and first aid cabinet services and other safety supplies, to a variety of manufacturers, retailers and service companies. The Company serves businesses of all sizes in numerous industry categories. Typical customers include automobile service centers and dealers, delivery services, food and general merchandise retailers, food processors and service operations, light manufacturers, maintenance facilities, restaurants, service companies, soft and durable goods wholesalers, transportation companies, and others who require employee clothing for image, identification, protection or utility purposes. The Company also provides its customers with restroom and cleaning supplies, including air fresheners, paper products and hand soaps. At certain specialized facilities, the Company decontaminates and cleans work clothes and other items that may have been exposed to radioactive materials and services special cleanroom protective wear. Typical customers for these specialized services include government agencies, research and development laboratories, high technology companies and utility providers operating nuclear reactors. As discussed and described in Note 15, “Segment Reporting”, to these Consolidated Financial Statements, the Company has five reporting segments: U.S. and Canadian Rental and Cleaning, Manufacturing (“MFG”), Specialty Garments Rental and Cleaning (“Specialty Garments”), First Aid and Corporate. The operations of the U.S. and Canadian Rental and Cleaning reporting segment are referred to by the Company as its “industrial laundry operations” and the locations related to this reporting segment are referred to as “industrial laundries”. The Company refers to its U.S. and Canadian Rental and Cleaning, MFG, and Corporate segments combined as its “Core Laundry Operations”. Principles of Consolidation The Consolidated Financial Statements include the accounts of the Company and its subsidiaries, all of which are wholly-owned. Intercompany balances and transactions are eliminated in consolidation. Use of Estimates The preparation of these Consolidated Financial Statements is in conformity with accounting principles generally accepted in the United States (“U.S. GAAP”) which requires management to make estimates and assumptions that affect the reported amounts in the financial statements and accompanying notes. These estimates are based on historical information, current trends, and information available from other sources. Actual results could differ from these estimates. Fiscal Year The Company’s fiscal year ends on the last Saturday in August. For financial reporting purposes, fiscal 2018 , fiscal 2017 and fiscal 2016 consisted of 52 weeks. Cash, Cash Equivalents and Short-Term Investments Cash, cash equivalents and short-term investments include cash in banks, money market securities, and bank short-term investments having original maturities of six months or less. Short-term investments consist of certificates of deposits totaling $67.6 million having original maturities of three , six and twelve months. Financial Instruments The Company’s financial instruments, which may expose the Company to concentrations of credit risk, include cash, cash equivalents and short-term investments, receivables and accounts payable. Each of these financial instruments is recorded at cost, which approximates its fair value given the short maturity of each financial instrument. Revenue Recognition and Allowance for Doubtful Accounts The Company recognizes revenue from rental operations and related services in the period in which the services are provided. Direct sales revenue is recognized in the period in which the services are performed or when the product is shipped. Management judgments and estimates are used in determining the collectability of accounts receivable and evaluating the adequacy of the allowance for doubtful accounts. The Company considers specific accounts receivable and historical bad debt experience, customer credit worthiness, current economic trends and the age of outstanding balances as part of its evaluation. Changes in estimates are reflected in the period they become known. If the financial condition of the Company’s customers were to deteriorate, resulting in an impairment of their ability to make payments, additional allowances may be required. Material changes in its estimates may result in significant differences in the amount and timing of bad debt expense recognition for any given period. Revenues do not include taxes we collect from our customers and remit to governmental authorities. Inventories and Rental Merchandise in Service Inventories are stated at the lower of cost or market value, net of any reserve for excess and obsolete inventory. Judgments and estimates are used in determining the likelihood that new goods on hand can be sold to customers or used in rental operations. Historical inventory usage and current revenue trends are considered in estimating both excess and obsolete inventories. If actual product demand and market conditions are less favorable than those projected by management, additional inventory write-downs may be required. The Company uses the first-in, first-out (“FIFO”) method to value its inventories. The components of inventory as of August 25, 2018 and August 26, 2017 were as follows (in thousands): August 25, August 26, Raw materials $ 18,508 $ 18,468 Work in process 3,271 4,159 Finished goods 68,397 56,441 Total inventory $ 90,176 $ 79,068 Rental merchandise in service is amortized, primarily on a straight-line basis, over the estimated service lives of the merchandise, which range from 6 to 36 months. In establishing estimated lives for merchandise in service, management considers historical experience and the intended use of the merchandise. Material differences may result in the amount and timing of operating profit for any period if management makes significant changes to these estimates. Property, plant and equipment Property, plant and equipment are recorded at cost. Expenditures for maintenance and repairs are expensed as incurred, while expenditures for renewals and betterments are capitalized. The components of property, plant and equipment as of August 25, 2018 and August 26, 2017 were as follows (in thousands): August 25, August 26, Land, buildings and leasehold equipment $ 496,966 $ 467,050 Machinery and equipment 576,354 540,185 Motor vehicles 238,087 220,205 1,311,407 1,227,440 Less: accumulated depreciation 751,831 702,325 Total property, plant and equipment $ 559,576 $ 525,115 The Company provides for depreciation on the straight-line method based on the date the asset is placed in service using the following estimated useful lives: Buildings (in years) 30 — 40 Building components (in years) 10 — 20 Leasehold improvements Shorter of useful life or term of lease Machinery and equipment (in years) 3 — 10 Motor vehicles (in years) 3 — 5 Long-lived assets, including property, plant and equipment, are evaluated for impairment whenever events or circumstances indicate an asset may be impaired. There were no material impairments of long-lived assets in fiscal 2018 and 2016 . During the fourth quarter of fiscal 2017, the Company recognized a non-cash impairment charge in its U.S. and Canadian Rental and Cleaning segment of $55.8 million on its ongoing customer relationship management (“CRM”) systems project as the Company determined that it was no longer probable that the version being developed at the end of fiscal 2017 would be placed into service. During fiscal 2018, the previous version of the CRM system being developed was abandoned, and the Company is now working on a new CRM system. Expenditures not impaired for computer software, including amounts capitalized related to the Company’s CRM systems project, are included within machinery and equipment. Goodwill and Other Intangible Assets In accordance with U.S. GAAP, the Company does not amortize goodwill. Instead, the Company tests goodwill for impairment on an annual basis. Management completes its annual goodwill impairment test in the fourth quarter of each fiscal year. In addition, U.S. GAAP requires that companies test goodwill if events occur or circumstances change that would more likely than not reduce the fair value of a reporting unit to which goodwill is assigned below its carrying amount. The Company used the qualitative assessment option for our impairment testing in fiscal 2018 for goodwill and determined that the fair values of the reporting units more likely than not exceeded their carrying values and that there was no evidence of impairment as of August 25, 2018. The Company cannot predict future economic conditions and their impact on the Company or the future market value of the Company’s stock. A decline in the Company’s market capitalization and/or deterioration in general economic conditions could negatively and materially impact the Company’s assumptions and assessment of the fair value of the Company’s business. If general economic conditions or the Company’s financial performance deteriorate, the Company may be required to record a goodwill impairment charge in the future which could have a material impact on the Company’s financial condition and results of operations. Definite-lived intangible assets are amortized over their estimated useful lives, which are based on management’s estimates of the period that the assets will generate economic benefits. Definite-lived intangible assets are evaluated for impairment whenever events or changes in circumstances indicate that the carrying amount of the assets may not be recoverable in accordance with U.S. GAAP. There were no impairments of goodwill or indicators of impairment for definite-lived intangible assets in fiscal 2018 , 2017 or 2016 . As of August 25, 2018 , definite-lived intangible assets have a weighted average useful life of approximately 14.1 years . Customer contracts have a weighted average useful life of approximately 14.6 years and other intangible assets, net, which consist of primarily, restrictive covenants, deferred financing costs and trademarks, have a weighted average useful life of approximately 5.2 years . Environmental and Other Contingencies The Company is subject to legal proceedings and claims arising from the conduct of its business operations, including environmental matters, personal injury, customer contract matters and employment claims. Accounting principles generally accepted in the United States require that a liability for contingencies be recorded when it is probable that a liability has occurred and the amount of the liability can be reasonably estimated. Significant judgment is required to determine the existence of a liability, as well as the amount to be recorded. The Company regularly consults with attorneys and outside consultants, in its consideration of the relevant facts and circumstances, before recording a contingent liability. The Company records accruals for environmental and other contingencies based on enacted laws, regulatory orders or decrees, the Company’s estimates of costs, insurance proceeds, participation by other parties, the timing of payments, and the input of outside consultants and attorneys. The estimated liability for environmental contingencies has been discounted as of August 25, 2018 using risk-free interest rates ranging from 2.8% to 3.0% over periods ranging from ten to thirty years. The estimated current costs, net of legal settlements with insurance carriers, have been adjusted for the estimated impact of inflation at 3% per year. Changes in enacted laws, regulatory orders or decrees, management’s estimates of costs, risk-free interest rates, insurance proceeds, participation by other parties, the timing of payments, the input of the Company’s attorneys and outside consultants or other factual circumstances could have a material impact on the amounts recorded for environmental and other contingent liabilities. Refer to Note 11, “Commitments and Contingencies”, of these Consolidated Financial Statements for additional discussion and analysis. Asset Retirement Obligations Under U.S. GAAP, asset retirement obligations generally apply to legal obligations associated with the retirement of long-lived assets that result from the acquisition, construction, development and/or the normal operation of a long-lived asset. The Company recognizes asset retirement obligations in the period in which they are incurred if a reasonable estimate of fair value can be made. The associated asset retirement costs are capitalized as part of the carrying amount of the long-lived asset. The Company has recognized as a liability the present value of the estimated future costs to decommission its nuclear laundry facilities. The Company depreciates, on a straight-line basis, the amount added to property, plant and equipment and recognizes accretion expense in connection with the discounted liability over the various remaining lives which range from approximately two to twenty-six years . The estimated liability has been based on historical experience in decommissioning nuclear laundry facilities, estimated useful lives of the underlying assets, external vendor estimates as to the cost to decommission these assets in the future, and federal and state regulatory requirements. The estimated current costs have been adjusted for the estimated impact of inflation at 3% per year. The liability has been discounted using credit-adjusted risk-free rates that range from approximately 7.0% to 7.5% . Revisions to the liability could occur due to changes in the Company’s estimated useful lives of the underlying assets, estimated dates of decommissioning, changes in decommissioning costs, changes in federal or state regulatory guidance on the decommissioning of such facilities, or other changes in estimates. Changes due to revised estimates will be recognized by adjusting the carrying amount of the liability and the related long-lived asset if the assets are still in service, or charged to expense in the period if the assets are no longer in service. Insurance The Company is self-insured for certain obligations related to health, workers’ compensation, vehicles and general liability programs. The Company also purchases stop-loss insurance policies for health, workers’ compensation, vehicles and general liability programs to protect itself from catastrophic losses. Judgments and estimates are used in determining the potential value associated with reported claims and for events that have occurred, but have not been reported. The Company’s estimates consider historical claims experience and other factors. In certain cases where partial insurance coverage exists, we must estimate the portion of the liability that will be covered by existing insurance policies to arrive at our net expected liability. Receivables for insurance recoveries are recorded as assets, on an undiscounted basis. The Company’s liabilities are based on estimates, and, while the Company believes that its accruals are adequate, the ultimate liability may be significantly different from the amounts recorded. Changes in claims experience, the Company’s ability to settle claims or other estimates and judgments used by management could have a material impact on the amount and timing of expense for any period. Supplemental Executive Retirement Plan and other Pension Plans Pension expense is recognized on an accrual basis over employees’ estimated service periods. Pension expense is generally independent of funding decisions or requirements. The Company (1) recognizes in its statement of financial position the over-funded or under-funded status of its defined benefit postretirement plans measured as the difference between the fair value of plan assets and the benefit obligation, (2) recognizes as a component of other comprehensive (loss) income, net of tax, the actuarial gains and losses and the prior service costs and credits that arise during the period but are not recognized as components of net periodic benefit cost, (3) measures defined benefit plan assets and defined benefit plan obligations as of the date of its statement of financial position, and (4) discloses additional information in the notes to financial statements about certain effects on net periodic benefit cost in the upcoming fiscal year that arise from delayed recognition of the actuarial gains and losses and the prior service costs and credits. Refer to Note 7, “Employee Benefit Plans”, of these Consolidated Financial Statements for further discussion regarding the Company’s pension plans. The calculation of pension expense and the corresponding liability requires the use of a number of critical assumptions, including the expected long-term rates of return on plan assets, the assumed discount rates, assumed rate of compensation increases and life expectancy of participants. Changes in these assumptions can result in different expense and liability amounts, and future actual experience can differ from these assumptions. Pension expense increases as the expected rate of return on pension plan assets decreases. Future changes in plan asset returns, assumed discount rates and various other factors related to the participants in the Company’s pension plans will impact the Company’s future pension expense and liabilities. The Company cannot predict with certainty what these factors will be in the future. Income Taxes The Company computes income tax expense by jurisdiction based on its operations in each jurisdiction. Deferred income taxes are provided for temporary differences between the amounts recognized for income tax and financial reporting purposes at currently enacted tax rates. The Tax Cuts and Jobs Act of 2017 (the “Act”) includes a mandatory one-time tax on accumulated earnings of foreign subsidiaries and, as a result, previously unremitted earnings for which no U.S. deferred tax liability had been accrued have now been subject to U.S. tax. Deferred tax assets and liabilities are determined by the differences between the consolidated financial statement carrying amounts and the tax basis of assets and liabilities. See Note 4, “Income Taxes” in these Consolidated Financial Statements for the types of items that give rise to significant deferred income tax assets and liabilities. Deferred income taxes are classified as assets or liabilities based on the classification of the related asset or liability for financial reporting purposes. The Company regularly reviews deferred tax assets for recoverability based upon projected future taxable income and the expected timing of the reversals of existing temporary differences. Although realization is not assured, management believes it is more likely than not that the recorded deferred tax assets, as adjusted for valuation allowances, will be realized. The Company is periodically reviewed by U.S. domestic and foreign tax authorities regarding the amount of taxes due. These reviews typically include inquiries regarding the timing and amount of deductions and the allocation of income among various tax jurisdictions. In evaluating the exposure associated with various filing positions, the Company records estimated reserves . Refer to Note 4, “Income Taxes”, of these Consolidated Financial Statements for further discussion regarding the Company’s accounting for income taxes and its uncertain tax positions for financial accounting purposes. The Company has undistributed earnings from its foreign subsidiaries of approximately $129.7 million as of August 25, 2018 . The Company considers these undistributed earnings as indefinitely reinvested and therefore has not provided for U.S. income taxes or foreign withholding taxes. If these funds were distributed to the U.S. in the form of dividends, the Company would likely be subject to additional taxes including withholding taxes from the countries where the cash is currently held. The Company does not believe that any resulting taxes payable for cash outside the United States would have a material impact on its liquidity. Advertising Costs Advertising costs are expensed as incurred and are classified as selling and administrative expenses. The Company incurred advertising costs of $2.8 million , $3.7 million and $1.5 million , for fiscal 2018 , 2017 and 2016 , respectively. Share-Based Compensation Compensation expense for all stock options, stock appreciation rights, unrestricted stock and restricted stock units (collectively, "Share-Based Awards") is recognized ratably over the related vesting period, net of actual forfeitures. Certain Share-Based Awards in the form of stock appreciation rights and shares of unrestricted stock were granted during fiscal 2018 , 2017 and 2016 to non-employee Directors of the Company, which were fully vested upon grant and, with respect to stock appreciation rights, expire eight years after the grant date. Accordingly, compensation expense related to these Share-Based Awards in fiscal 2018 , 2017 and 2016 were recognized on the date of grant. For performance-based restricted stock unit awards with revenue and adjusted operating margin targets, we evaluate the probability of meeting the performance criteria at each balance sheet date and if probable, related compensation cost is amortized over the performance period on a straight-line basis because such awards vest only at the end of the measurement period. Changes to the probability assessment and the estimate of shares expected to vest will result in adjustments to the related share-based compensation expense that will be recorded in the period of the change. If the performance targets are not achieved, no compensation cost is recognized and any previously recognized compensation cost is reversed. U.S. GAAP requires that share-based compensation cost be measured at the grant date based on the fair value of the award and be recognized as expense over the requisite service period, which is generally the vesting period. Determining the fair value of Share-Based Awards in the form of stock appreciation rights at the grant date requires judgment, including estimating expected dividends and share price volatility. The fair value of each Share-Based Award in the form of stock appreciation rights is estimated on the date of grant using the Black-Scholes option pricing model. The Company recognizes compensation expense for restricted stock and restricted stock unit grants over the related vesting period. The fair value for each restricted stock, unrestricted stock and restricted stock unit grant is determined by using the closing price of the Company’s stock on the date of the grant. Refer to Note 12, “Share-Based Compensation”, of these Consolidated Financial Statements for further discussion regarding the Company’s share-based compensation plans. Income Per Share The Company calculates income per share by allocating income to its unvested participating securities as part of its income per share calculations. The Class B Common Stock may be converted at any time on a one -for-one basis into Common Stock at the option of the holder of the Class B Common Stock. Diluted income per share for the Company’s Common Stock assumes the conversion of all of the Company’s Class B Common Stock into Common Stock, full vesting of outstanding restricted stock, and the exercise of Share-Based Awards under the Company’s stock incentive plans. The following table sets forth the computation of basic income per share using the two-class method for amounts attributable to the Company’s shares of Common Stock and Class B Common Stock (in thousands, except per share data): Year ended August 25, August 26, August 27, Net income available to shareholders $ 163,895 $ 70,196 $ 125,026 Allocation of net income for Basic: Common Stock $ 133,802 $ 55,903 $ 99,282 Class B Common Stock 30,093 13,915 25,093 Unvested participating shares — 378 651 $ 163,895 $ 70,196 $ 125,026 Weighted average number of shares for Basic: Common Stock 15,454 15,382 15,245 Class B Common Stock 4,357 4,786 4,816 Unvested participating shares — 116 107 19,811 20,284 20,168 Income per share for Basic: Common Stock $ 8.66 $ 3.63 $ 6.51 Class B Common Stock $ 6.91 $ 2.91 $ 5.21 The Company calculates diluted income per share for Common Stock using the more dilutive of the following two methods: • The treasury stock method; or • The two-class method assuming a participating security is not exercised or converted. For the years ended August 25, 2018 , August 26, 2017 and August 27, 2016 , the Company’s diluted income per share assumes the conversion of all vested Class B Common Stock into Common Stock and uses the two-class method for its unvested participating shares as it was the more dilutive of the two approaches. The following presents a reconciliation of basic and diluted income per share (in thousands, except per share data): Year Ended August 25, 2018 Year Ended August 26, 2017 Year Ended August 27, 2016 Earnings to Common shareholders Common Shares Income Per Share Earnings to Common shareholders Common Shares Income Per Share Earnings to Common shareholders Common Shares Income Per Share As reported – Basic $ 133,802 15,454 $ 8.66 55,903 15,382 $ 3.63 $ 99,282 15,245 $ 6.51 Add: effect of dilutive potential common shares Share-Based Awards — 152 — 108 — 93 Class B Common Stock 30,093 4,357 13,915 4,786 25,093 4,816 Add: Undistributed earnings allocated to unvested participating shares — — 362 — 636 — Less: Undistributed earnings reallocated to unvested participating shares — — (343 ) — (602 ) — Diluted Income Per Share – Common Stock $ 163,895 19,963 $ 8.21 69,837 20,276 $ 3.44 $ 124,409 20,154 $ 6.17 Share-Based Awards that would result in the issuance of 4,972 shares of Common Stock were excluded from the calculation of diluted earnings per share for the fiscal year ended August 25, 2018 because they were anti-dilutive. Share-Based Awards that would result in the issuance of 16 shares of Common Stock were excluded from the calculation of diluted earnings per share for the fiscal year ended August 26, 2017 because they were anti-dilutive. Share-Based Awards that would result in the issuance of 9,883 shares of Common Stock were excluded from the calculation of diluted earnings per share for the fiscal year ended August 27, 2016 because they were anti-dilutive. Foreign Currency Translation The functional currency of our foreign operations is the local country’s currency. Transaction gains and losses, including gains and losses on our intercompany transactions, are included in other (income) expense in the accompanying Consolidated Statements of Income. Assets and liabilities of operations outside the United States are translated into U.S. dollars using period-end exchange rates. Revenues and expenses are translated at the average exchange rates in effect during each month of the fiscal year. The effects of foreign currency translation adjustments are included in shareholders’ equity as a component of accumulated other loss income in the accompanying Consolidated Balance Sheets. Recent Accounting Pronouncements In May 2014, the Financial Accounting Standards Board ("FASB") issued updated accounting guidance for revenue recognition, which they have subsequently modified. This modified update provides a comprehensive new revenue recognition model that requires revenue to be recognized in a manner to depict the transfer of goods or services to a customer at an amount that reflects the consideration expected to be received in exchange for those goods or services. The standard includes cost guidance, whereby all direct and incremental costs to obtain or fulfill a contract will be capitalized and amortized over the corresponding period of benefit, determined on a contract by contract basis. This guidance is also intended to improve disclosure requirements and enhance the comparability of revenue recognition practices. Improved disclosures under the amended guidance relate to the nature, amount, timing and uncertainty of revenue that is recognized from contracts with customers. The Company adopted this standard on August 26, 2018 using the modified retrospective adoption method. The adoption of this guidance is not expected to have a material impact on revenue. In addition to the new qualitative and quantitative disclosures that will be required upon adoption of this standard, the Company anticipates recognizing a cumulative effect adjustment related to the capitalization of certain direct and incremental contract costs. The Company estimates the cumulative effect adjustment to be an increase to retained earnings as of August 26, 2018 in the range of approximately $35.0 million to $42.0 million . In July 2015, the FASB issued updated guidance which changes the measurement principle for inventory from the lower of cost or market to the lower of cost or net realizable value. Subsequent measurement is unchanged for inventory measured using last-in, first-out or the retail inventory method. This guidance is effective for annual periods, and interim periods within those annual periods, beginning after December 15, 2016, and is to be applied prospectively, with early adoption permitted. Accordingly, the Company adopted this standard on August 27, 2017. The adoption of this guidance did not have a material impact on its financial statements. In January 2016, the FASB issued updated guidance for the recognition, measurement, presentation, and disclosure of certain financial assets and liabilities. This guidance is effective for annual periods, and interim periods within those annual periods, beginning after December 15, 2017, with early adoption permitted. Accordingly, the standard will be effective for the Company on August 26, 2018. The Company expects that adoption of this guidance will not have a material impact on its financial statements. In February 2016, the FASB issued updated guidance that improves transparency and comparability among companies by recognizing lease assets and lease liabilities on the balance sheet and by disclosing key information about leasing arrangements. This guidance is effective for annual periods, and interim periods within those annual periods, beginning after December 15, 2018, with early adoption permitted. Accordingly, the standard will be effective for the Company on September 1, 2019. At August 25, 2018, the Company is contractually obligated to make future payments of $47.1 million under its operating lease obligations in existence as of that date, primarily related to long-term leases. While the Company is in the early stages of its implementation process of this guidance, and have not yet determined its impact on its consolidated balance sheet or consolidated statement of income, these leases would potentially be required to be presented on the consolidated balance sheet in accordance with the requirements of this guidance. In March 2016, the FASB issued updated guidance that simplifies several aspects of accounting for share-based payment transactions. This guidance is effective for annual periods, and interim periods within those annual periods, beginning after December 15, 2016 and, depending on the amendment, must be applied using a prospective transition method, retrospective transition method, modified retrospective transition method, prospectively and/or retroactively, with early adoption permitted. Accordingly, the Company adopted this standard on August 27, 2017. The impact of the adoption on the consolidated balance sheet as of August 25, 2018 was a cumulative-effect adjustment of $0.7 million , decreasing retained earnings and increasing capital surplus. The impact of the adoption on the consolidated statement of income was a decrease of $3.1 million in the provision for income taxes during the fiscal year ended August 25, 2018 . As a result of the adoption of the updated guidance, our excess tax benefit is no longer included in our calculation of diluted shares under the treasury stock meth |