Purchases DO have to be adjusted for the delta between beginning and ending inventory to get the COGS computation to work.