Why it works: Sugar and vanilla are a kitchen classic. They rank in the top 8% of all ingredient pairs, and cooks put them together in 35,032 recipes. Both carry beta-damascenone, which smells apple, rose. The science ↓
Nut Filling
Ingredients
Directions
Make the filling
In a saucepan, combine sugar, corn starch, and butter.
Add boiling water to thicken the mixture.
Cook for a few minutes, then stir in chopped walnuts.
Beat the egg with a little water and mix it in.
Finish and use
Flavor with vanilla extract and let it cool.
Spread the filling on any layer cake.
Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Corn + vanillatop 9% of all pairsSmell alikemoderateCooked together1,943 recipes
Shared aroma: ethyl cinnamate (sweet, balsamic).
-
Corn + walnuttop 9% of all pairsSmell alikestrongCooked together349 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Walnut + vanillatop 10% of all pairsSmell alikestrongCooked together2,730 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
-
Corn + buttertop 14% of all pairsSmell alikemoderateCooked together7,345 recipes
Shared aroma: 2,3-pentanedione (butter, sweet).
Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 recipes: they work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Sugar
- Adds sweetness and body to the filling.
- Corn starch
- Thickens the filling as it heats with the liquid.
- Butter
- Adds fat for richness and a smoother texture.
- Chopped walnuts
- Add texture and a toasty, nutty bite.
- Egg
- Enriches the filling and helps give it body.
The step that matters
Cooking the thickened mixture. Corn starch only thickens fully when heated, so the mixture must cook long enough to lose its raw starchy taste and reach a smooth, set consistency before the walnuts and egg go in.
Swap the walnut
How well each one fits the dish's main ingredients (sugar, corn, butter, egg, vanilla):
- Almondfits better
- Chestnutfits about as well
- Pecansfits about as well
- Walnutthe original
Fit is the average pairing score against sugar, corn, butter, egg, vanilla. Candidates are from the same food group and used in at least 100 recipes.
“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.
You might also like
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.
Vanilla Ice Cream108 recipes
Corn Cake90 recipes
Corn Starch Cake89 recipes
Corn Cakes22 recipes