A detergent dispensing cartridge for use in a washing machine. The washing machine is for cleaning a soiled substrate. The treatment of the moistened substrate is with a formulation comprising a multiplicity of polymeric particles. The cartridge has multiple compartments. A first compartment holds a first detergent formulation. A second compartment holds a second detergent formulation. A portion of the contents of the first compartment are released before a portion of the contents of the second compartment.