Stock valuation and write-offs