Depreciation fix, reformat returned output