Intangible assets balances, subject to amortization, at September 30, 2013 and 2012, consisted of the following (in thousands): All goodwill and intangible assets disclosed above are reported in our Electrical Power Products business segment. We compute basic earnings per share by dividing net income by the weighted average number of common shares outstanding during the  period. Diluted earnings per common and potential common share includes the weighted average of additional shares associated with the  incremental effect of dilutive restricted stock and restrictive stock units, as prescribed by the FASB guidance on earnings per share.  The following table reconciles basic and diluted weighted average shares used in the computation of earnings per share for the years ended  September 30, 2013, 2012 and 2011 (in thousands, except per share data): (1) In Fiscal 2011, approximately 23,000 shares related to outstanding stock options and restricted stock units were excluded from the  computation of diluted earnings (loss) per share because they were antidilutive. 33 September 30, 2013 2012 Raw materials, parts and  subassemblies $ 30,097 $ 33,632 Work-in-progress 3,818 6,422 Provision for excess and obsolete  inventory (4,932) (7,137) Total inventories $ 28,983 $ 32,917 September 30, 2013 2012 Balance at beginning of year $ 1,399  $ 391 Increase in (decrease to) bad debt expense (544) 842 Deductions for uncollectible accounts  written off, net of recoveries (142) 142 Increase (decrease) due to foreign  currency translation (10) 24 Balance at end of year $ 703 $ 1,399 Year Ending September 30,  Total 2014 $ 1,652 2015 1,637 2016 1,560 2017 1,560 2018 1,560 September 30, 2013 September 30, 2012 Gross Carrying  Value Accumulated  Amortization  Net Carrying  Value Gross Carrying  Value Accumulated  Amortization  Net Carrying  Value Supply agreement $ 17,58 0 $ (8,397) $ 9,183 $ 17,58 0 $ ( 7,225) $ 10,355 Purchased technology 11,749 (9,489) 2,260 11,818 (9,121) 2,697 Trade name 1,136 (967) 169 1,136 (871) 265 Total $ 30,465 $ (18,853)  $ 11,612 $ 30,534 $ (17,217)  $ 13,317 Estimated amortization expense for each of the five subsequent  fiscal years is expected to be (in thousands): Amortization of intangible assets recorded for the years ended  September 30, 2013, 2012 and 2011, was $1.7 million, $2.6 million  and $4.8 million, respectively.  E. EARNINGS PER SHARE Inventories The components of inventories are summarized below (in thousands):  Activity in our allowance for doubtful accounts consisted of the  following (in thousands): Allowance for Doubtful Accounts F. DETAIL OF SELECTED BALANCE SHEET ACCOUNTS Year Ended September 30, 2013 2012 2011 Numerator: Net income (loss) $ 42,076  $ 29,657  $ (2,715) Denominator: Weighted average basic shares 11,948 11,850 11,735 Dilutive effect of stock options, restricted stock and restricted stock units (1) 46 75 — Weighted average diluted shares with assumed conversions 11,994 11,925 11,735 Net earnings (loss) per share: Basic $ 3.52  $ 2.50  $ (0.23) Diluted $ 3.51  $ 2.49  $ (0.23)