allowance for inventories written down