cleaning outputs