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: US and Canadian Rental and Cleaning, Manufacturing (“MFG”), Specialty Garments Rental and Cleaning (“Specialty Garments”), First Aid and Corporate. The operations of the US 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 US 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 (“US 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 2017 , fiscal 2016 and fiscal 2015 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. Included in short-term investments are two certificates of deposits totaling $100 million having original maturities of three and six 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, accounts payable, loans payable and long-term debt. 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 26, 2017 and August 27, 2016 were as follows (in thousands): August 26, August 27, Raw materials $ 18,468 $ 16,826 Work in process 4,159 2,275 Finished goods 56,441 59,786 Total inventory $ 79,068 $ 78,887 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 26, 2017 and August 27, 2016 were as follows (in thousands): August 26, August 27, Land, buildings and leasehold equipment $ 467,050 $ 432,716 Machinery and equipment 540,185 569,627 Motor vehicles 220,205 198,770 1,227,440 1,201,113 Less: accumulated depreciation 702,325 661,295 Total property, plant and equipment $ 525,115 $ 539,818 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 2016 and 2015 . During the fourth quarter of fiscal 2017, the Company recognized a non-cash impairment charge in its US and Canadian Rental and Cleaning segment of $ 55.8 million on its on going CRM system project as the Company has now determined that it is no longer probable that the current version that was being developed will be completed and placed into service. Expenditures not impaired for computer software, including amounts capitalized related to the Company’s ongoing project to update its customer relationship management (“CRM”) systems, are included within machinery and equipment. Goodwill and Other Intangible Assets In accordance with US 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, US 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’s evaluation considers changes in the operating environment, competitive information, market trends, operating performance and cash flow modeling. 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 US GAAP. There were no impairments of goodwill or indicators of impairment for definite-lived intangible assets in fiscal 2017 , 2016 or 2015 . As of August 26, 2017 , definite-lived intangible assets have a weighted average useful life of approximately 13.9 years . Customer contracts have a weighted average useful life of approximately 14.5 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 4.7 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 26, 2017 using risk-free interest rates ranging from 2.2% to 2.8% 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 US 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 one to twenty-seven 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 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 $128.0 million as of August 26, 2017 . 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 earnings were ultimately distributed to the U.S. in the form of dividends or otherwise, or if the shares of its international subsidiaries were sold or transferred, the Company would likely be subject to additional U.S. income taxes, net of the impact of any available foreign tax credits as well as foreign withholding taxes. It is not practicable to estimate the amount of unrecognized deferred U.S. taxes on these undistributed earnings. Advertising Costs Advertising costs are expensed as incurred and are classified as selling and administrative expenses. The Company incurred advertising costs of $3.7 million , $1.5 million and $1.3 million , for the fiscal years ended August 26, 2017 , August 27, 2016 and August 29, 2015 , respectively. Share-Based Compensation Compensation expense for all Share-Based Awards is recognized ratably over the related vesting period. Certain Share-Based Awards and shares of unrestricted stock were granted during fiscal 2017 , 2016 and 2015 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 and shares of unrestricted stock in fiscal 2017 , 2016 and 2015 were recognized on the date of grant. For performance restricted share 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. US GAAP requires that share-based compensation cost be measured at the grant date based on the 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 at the grant date requires judgment, including estimating expected dividends, share price volatility and the amount of Share-Based Awards that are expected to be forfeited. The fair value of each Share-Based Award is estimated on the date of grant using the Black-Scholes option pricing model. The Company recognizes compensation expense for restricted stock grants over the related vesting period. The fair value for each restricted and unrestricted stock 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. Net Income Per Share The Company calculates net income per share in accordance with US GAAP, which requires the Company to allocate income to its unvested participating securities as part of its earnings per share (“EPS”) 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 earnings 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 earnings 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 26, August 27, August 29, Net income available to shareholders $ 70,196 $ 125,026 $ 124,299 Allocation of net income for Basic: Common Stock $ 55,903 $ 99,282 $ 98,665 Class B Common Stock 13,915 25,093 24,761 Unvested participating shares 378 651 873 $ 70,196 $ 125,026 $ 124,299 Weighted average number of shares for Basic: Common Stock 15,382 15,245 15,182 Class B Common Stock 4,786 4,816 4,763 Unvested participating shares 116 107 153 20,284 20,168 20,098 Earnings per share for Basic: Common Stock $ 3.63 $ 6.51 $ 6.50 Class B Common Stock $ 2.91 $ 5.21 $ 5.20 The Company calculates diluted EPS 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 26, 2017 , August 27, 2016 and August 29, 2015 , the Company’s diluted EPS 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 net income per share (in thousands, except per share data): Year Ended August 26, 2017 Year Ended August 27, 2016 Year Ended August 29, 2015 Earnings to Common shareholders Common Shares EPS Earnings to Common shareholders Common Shares EPS Earnings to Common shareholders Common Shares EPS As reported – Basic $ 55,903 15,382 $ 3.63 99,282 15,245 $ 6.51 $ 98,665 15,182 $ 6.50 Add: effect of dilutive potential common shares Share-Based Awards — 108 — 93 — 134 Class B Common Stock 13,915 4,786 25,093 4,816 24,761 4,763 Add: Undistributed earnings allocated to unvested participating shares 362 — 636 — 853 — Less: Undistributed earnings reallocated to unvested participating shares (343 ) — (602 ) — (807 ) — Diluted EPS – Common Stock $ 69,837 20,276 $ 3.44 124,409 20,154 $ 6.17 $ 123,472 20,079 $ 6.15 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 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 year ended August 27, 2016 because they were anti-dilutive. Share-Based Awards that would result in the issuance of 10,702 shares of Common Stock were excluded from the calculation of diluted earnings per share for the year ended August 29, 2015 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. This guidance will be effective for annual reporting periods, and any interim periods within those annual periods, that begin after December 15, 2017. Accordingly, the standard will be effective for the Company on August 26, 2018. The Company has established an implementation team and is working on the completion of its project plan to address the requirements of this standard. The Company is currently reviewing its customer contracts, assessing its incremental costs of obtaining customer contracts, and identifying any potential changes to business processes and controls to support accounting and disclosure considerations under this standard. The Company expects to adopt this standard using the modified retrospective adoption method and continues to evaluate the impact that this guidance will have on its financial statements and related disclosures. In February 2015, the FASB issued updated accounting guidance on consolidation requirements. This update changes the guidance with respect to the analysis that a reporting entity must perform to determine whether it should consolidate certain types of legal entities. This guidance is effective for annual periods, and interim periods within those annual periods, beginning after December 15, 2015, with early adoption permitted. Accordingly, the standard became effective for the Company on August 28, 2016. The Company adopted this guidance and the adoption did not have a material impact on its financial statements. In April 2015, the FASB issued updated guidance on the presentation of debt issuance costs. This update changes the guidance with respect to presenting such costs in the balance sheet as a direct deduction from the related debt liability rather than as an asset. Amortization of the costs is reported as interest expense. This guidance is effective for annual periods, and interim periods within those annual periods, beginning after December 15, 2015, with early adoption permitted. Accordingly, the standard became effective for the Company on August 28, 2016. The Company adopted this guidance and the adoption did not have a material impact on its financial statements. 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 standard will be effective for the Company on August 27, 2017. The Company expects that adoption of this guidance will not have a material impact on its financial statements. In September 2015, the FASB issued updated guidance that require an entity to recognize adjustments made to provisional amounts that are identified in a business combination be recorded in the period such adjustments are determined, rather than retrospectively adjusting previously reported amounts. This guidance is effective for annual periods, and interim periods within those annual periods, beginning after December 15, 2015, and is to be applied prospectively, with early adoption permitted. Accordingly, the standard became effective for the Company on August 28, 2016. The Company adopted this guidance and the adoption 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. The Company is currently evaluating the impact that this guidance will have on its financial statements and related disclosures. 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 standard will be effective for the Company on August 27, 2017. The Company does not expect that adoption of this guidance will have a material impact on its financial statements. In August 2016, the FASB issued updated guidance that reduces diversity in how certain cash receipts and cash payments are presented and classified in the Consolidated Statements of Cash Flows. This guidance will be effective for annual reporting periods, and any interim periods within those annual periods, that begin after December 15, 2017 and will be required to be applied retrospectively, with early adoption permitted. Accordingly, the standard will be effective for the Company on August 26, 2018. The Company is currently evaluating the impact th |