The disclosure concerns a method for producing a layered cookie comprising at least one biscuit and a filling, the layered cookie containing 10 wt% to 25 wt% fat and 15 wt% to 40 wt% sugar, wherein the slowly-digestible-starch-over-total-available-starch ratio of the layered cookie is at least 31 wt%, the method including: forming a dough comprising a cereal flour, fat, sugar and at most 8 wt% added water relative to the total weight of the dough moulding the dough into the shape of a biscuit baking the biscuit and assembling the biscuit with a filling to form a layered cookie wherein the cereal flour comprises refined cereal flour, in an amount of at least 21 wt% over the total weight of the dough, with a water absorption under 55 % as measured by Brabender® Farinograph®.