The present invention provides a solid-layered composition having at least two parts. The first part comprises a) calcium hypochlorite, magnesium hypochlorite and mixtures thereof, b) a builder, c) a water-soluble polymer, d) an acid, and e) wherein the first part does not contain sodium hypochlorite, lithium hypochlorite, potassium hypochlorite and mixtures thereof. The second part comprises a) a functional ingredient, b) a builder or filler, and c) wherein the second part does not contain any oxidant.