| 
 | THE HERSHEY COMPANY CONSOLIDATED STATEMENTS OF CASH FLOWS
 | 
 | 
| 
 | For the years ended December 31, | 
 | 2011 | 
 | 2010 | 
 | 2009 | 
 | 
| 
 | In thousands of dollars | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | Cash Flows Provided from (Used by) Operating Activities | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | Net income 
 | 
 | $628,962 | 
 | 
 | $509,799 | 
 | 
 | $435,994 | 
 | 
 | 
| 
 | 
 | Adjustments to reconcile net income to net cash provided from operations: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | Depreciation and amortization | 
 | 215,763 | 
 | 
 | 197,116 | 
 | 
 | 182,411 | 
 | 
 | 
| 
 | 
 | Stock-based compensation expense, net of tax of $15,127, $17,413 and $19,223, respectively | 
 | 28,341 | 
 | 
 | 32,055 | 
 | 
 | 34,927 | 
 | 
 | 
| 
 | 
 | Excess tax benefits from stock-based compensation | 
 | (13,997 | ) | 
 | (1,385 | ) | 
 | (4,455) | 
 | 
 | 
| 
 | 
 | Deferred income taxes | 
 | 33,611 | 
 | 
 | (18,654 | ) | 
 | (40,578) | 
 | 
 | 
| 
 | 
 | Gain on sale of trademark licensing rights, net of tax of $5,962 | 
 | (11,072 | ) | 
 | - 
 | 
 | 
 | - 
 | 
 | 
 | 
| 
 | 
 | Business realignment and impairment charges, net of tax of $18,333, $20,635 and $38,308, respectively | 
 | 30,838 | 
 | 
 | 77,935 | 
 | 
 | 60,823 | 
 | 
 | 
| 
 | 
 | Contributions to pension plans | 
 | (8,861 | ) | 
 | (6,073 | ) | 
 | (54,457) | 
 | 
 | 
| 
 | 
 | Changes in assets and liabilities, net of effects from business acquisitions and divestitures: | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | Accounts receivable-trade | 
 | (9,438 | ) | 
 | 20,329 | 
 | 
 | 46,584 | 
 | 
 | 
| 
 | 
 | Inventories | 
 | (115,331 | ) | 
 | (13,910 | ) | 
 | 74,000 | 
 | 
 | 
| 
 | 
 | Accounts payable | 
 | 7,860 | 
 | 
 | 90,434 | 
 | 
 | 37,228 | 
 | 
 | 
| 
 | 
 | Other assets and liabilities | 
 | (205,809 | ) | 
 | 13,777 | 
 | 
 | 293,272 | 
 | 
 | 
| 
 | Net Cash Provided from Operating Activities | 
 | 580,867 | 
 | 
 | 901,423 | 
 | 
 | 1,065,749 | 
 | 
 | 
| 
 | Cash Flows Provided from (Used by) Investing Activities | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | Capital additions | 
 | (323,961 | ) | 
 | (179,538 | ) | 
 | (126,324) | 
 | 
 | 
| 
 | 
 | Capitalized software additions | 
 | (23,606 | ) | 
 | (21,949 | ) | 
 | (19,146) | 
 | 
 | 
| 
 | 
 | Proceeds from sales of property, plant and equipment | 
 | 312 | 
 | 
 | 2,201 | 
 | 
 | 10,364 | 
 | 
 | 
| 
 | 
 | Proceeds from sales of trademark licensing rights | 
 | 20,000 | 
 | 
 | - | 
 | 
 | - 
 | 
 | 
 | 
| 
 | 
 | Business acquisitions | 
 | (5,750 | ) | 
 | - | 
 | 
 | (15,220) | 
 | 
 | 
| 
 | Net Cash (Used by) Investing Activities 
 | 
 | (333,005 | ) | 
 | (199,286 | ) | 
 | (150,326) | 
 | 
 | 
| 
 | Cash Flows Provided from (Used by) Financing Activities | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | Net change in short-term borrowings | 
 | 10,834 | 
 | 
 | 1,156 | 
 | 
 | (458,047) | 
 | 
 | 
| 
 | 
 | Long-term borrowings | 
 | 249,126 | 
 | 
 | 348,208 | 
 | 
 | - | 
 | 
 | 
| 
 | 
 | Repayment of long-term debt | 
 | (256,189 | ) | 
 | (71,548) | ) | 
 | (8,252) | 
 | 
 | 
| 
 | 
 | Proceeds from lease financing agreement | 
 | 47,601 | 
 | 
 | - 
 | 
 | 
 | - | 
 | 
 | 
| 
 | 
 | Cash dividends paid | 
 | (304,083 | ) | 
 | (283,434) | ) | 
 | (263,403) | 
 | 
 | 
| 
 | 
 | Exercise of stock options | 
 | 184,411 | 
 | 
 | 92,033 | 
 | 
 | 28,318 | 
 | 
 | 
| 
 | 
 | Excess tax benefits from stock-based compensation | 
 | 13,997 | 
 | 
 | 1,385 | 
 | 
 | 4,455 | 
 | 
 | 
| 
 | 
 | Contributions from noncontrolling interests in subsidiaries | 
 | - | 
 | 
 | 10,199 | 
 | 
 | 7,322 | 
 | 
 | 
| 
 | 
 | Repurchase of Common Stock | 
 | (384,515 | ) | 
 | (169,099) | ) | 
 | (9,314) | 
 | 
 | 
| 
 | Net Cash (Used by) Financing Activities | 
 | (438,818 | ) | 
 | (71,100) | ) | 
 | (698,921) | 
 | 
 | 
| 
 | (Decrease) Increase in Cash and Cash Equivalents | 
 | (190,956 | ) | 
 | 631,037 | 
 | 
 | 216,502 | 
 | 
 | 
| 
 | Cash and Cash Equivalents as of January 1 | 
 | 884,642 | 
 | 
 | 253,605 | 
 | 
 | 37,103 | 
 | 
 | 
| 
 | Cash and Cash Equivalents as of December 31 | 
 | $693,686 | 
 | 
 | $884,642 | 
 | 
 | $253,605 | 
 | 
 | 
| 
 | Interest Paid | 
 | $97,892 | 
 | 
 | $97,932 | 
 | 
 | $91,623 | 
 | 
 | 
| 
 | Income Taxes Paid | 
 | 292,315 | 
 | 
 | 350,948 | 
 | 
 | 252,230 | 
 |