A method of operating a dispensing system for a washing machine including a suds container for receiving wash liquid and at least one supply container for receiving a treating agent. The method includes selecting and activating a wash or treatment cycle from a plurality of wash or treatment cycles using an input device. The treating agent for delivery to the suds container is selected based on suitability information corresponding to the selected wash or treatment cycle. The treating agent is delivered to the suds container at the start of the activated wash or treatment cycle. The activated wash or treatment cycle is performed using a controller.