87  /  CP 2018 ANNUAL REPORT 14 Goodwill and intangible assets 15 Other assets 16 Accounts payable and accrued liabilities Contracted customer incentives are amortized to income over the term of the related revenue contract. (in millions of Canadian dollars) 2018 2017 Trade payables $ 474 $ 402 Accrued charges 360 256 Income and other taxes payable 104 72 Accrued interest 135 128 Dividends payable 91 82 Payroll-related accruals 78 72 Accrued vacation 61 59 Stock-based compensation liabilities 53 32 Personal injury, damage and other claims provision 68 28 Provision for environmental remediation (Note 19) 8 8 Financial derivative liability (Note 18) — 55 Other 17 44 Total accounts payable and accrued liabilities $ 1,449 $ 1,238 (in millions of Canadian dollars) 2018 2017 Long-term materials $ 26 $ 24 Contracted customer incentives 11 11 Prepaid leases 10 5 Other 24 29 Total other assets $ 71 $ 69 Goodwill Intangible assets (in millions of Canadian dollars) Net carrying amount Cost Accumulated amortization Net carrying amount Total goodwill and intangible assets Balance at December 31, 2016 $ 191 $ 22 $ (11) $ 11 $ 202 Amortization — — (1 ) (1 ) (1 ) Foreign exchange impact (13) — (1) (1) (14) Balance at December 31, 2017 $ 178 $ 22 $ (13 ) $ 9 $ 187 Amortization — — (1) (1) (1) Foreign exchange impact 16 — — — 16 Balance at December 31, 2018 $ 194 $ 22 $ (14) $ 8 $ 202