Spiced Gingerbread Cake (Many Sizes)

This deeply spiced and moist gingerbread cake is wonderful any time of day, whether served plain or dressed up with spiced cream cheese frosting and sugared cranberries. You can make it as a single layer cake, or try the 3 layer cake versions detailed in the Notes. No matter how you bake and serve it, this is a classic gingerbread recipe the whole family will love during the holiday season!

I originally published this recipe in 2016 and have since added new photos, a video tutorial, and helpful information about using different cake pan sizes.

overhead photo of round gingerbread cake with slice cut out and being removed.

Nothing tastes more like the holidays than the warm, cozy flavors of gingerbread. The smell of ginger, cloves, and molasses can instantly transport anyone’s mindset to December.

One reader, MK, commented: “Soooo delicious! My grandma used to make gingerbread every year and never used a written recipe. This is the closest thing I’ve tasted to it in years. ★★★★★”

Every holiday season, I make my favorite gingerbread cookies, and gingerbread waffles are fast becoming a favorite winter weekend tradition in my house, too. But what about just, simply, gingerbread? A sweet, spiced stick-to-your-fork-moist cake that can do double-duty as Christmas morning breakfast and dessert… welcome to my quintessential gingerbread recipe!

While adding a layer of cream cheese frosting makes it a wonderful holiday dessert, this cake would be just as welcome as a special holiday breakfast, snack, or late-night last-minute gift-wrapping fuel.

Gingerbread has no time-of-day limitations. 😉

slice of gingerbread cake with cream cheese frosting being held up with a cake server.

Why You Will Love This Gingerbread Snack Cake

  • A 1-layer cake, perfect for when you aren’t feeding a big crowd
  • You can even make it as an upside down pear gingerbread cake
  • Warm, comforting holiday flavors of molasses, ginger, cinnamon, and cloves
  • Moist cake crumb, not dry or dense at all
  • Top with spiced cream cheese frosting, enjoy it plain, with whipped cream, or with a dusting of confectioners’ sugar
  • Adaptable to other pan sizes—see below
  • Quick and easy prep makes for a low-maintenance holiday dessert

Ingredients You Need:

ingredients on counter including molasses, butter, flour, egg, water, and spices.
  • Flour: The base of the gingerbread cake recipe.
  • Baking Soda: As you may have read in my baking powder vs. baking soda post, molasses and brown sugar are both acids. So we need baking soda to give the cake its lift!
  • Spices: Ground ginger, cinnamon, cloves, and salt—the gingerbread mainstays.
  • Molasses: In addition to the spices, molasses is the other signature flavor in most gingerbread recipes. I recommend using unsulphured or dark molasses, not blackstrap, which has a more intense flavor that’s a bit too much in baked goods. (I always use Grandma’s brand molasses.)
  • Hot Water: As you’ll read about below, whisking the thick molasses with hot water before adding it to the batter makes everything come together easily. The water also adds supreme moisture to each and every bite.
  • Butter: You just can’t beat the flavor of this baking staple!
  • Brown Sugar: Sweetening with brown sugar provides extra moisture + molasses flavor.
  • Egg: 1 egg serves to bind the ingredients together, and adds richness.
  • Vanilla Extract: Because, you know, cake. 🙂

How to Mix Sticky Molasses Into Cake Batter

Whisk the molasses with hot water before adding it to the batter. Why? As you know, molasses is very thick. The thick goop, for lack of better words, doesn’t mix easily into cake batter. It’s fine for cookie doughs such as iced gingerbread oatmeal cookies and gingerbread cookie bars, but hot water helps loosen the viscous consistency of molasses, which helps incorporate it into a thinner cake batter.

The resulting cake is dense, yet soft. Buttery, perfectly spiced, and impeccably flavored.

molasses water mixture in liquid measuring cup with purple linen in background.

The rest of the prep work is pretty simple, too. You’ll cream the butter and brown sugar together, so an electric mixer is undoubtedly helpful (you’ll need it if you make the frosting, too). As the recipe instructs below, add the dry ingredients and water/molasses mixture to the wet ingredients in separate additions.

The batter is a little thick, and some small lumps are OK:

molasses batter in glass bowl with wire whisk.
gingerbread cake batter in cake pan.
hands holding gingerbread in round pan.

Different Pan Size Options

This is a versatile gingerbread cake recipe. It can be made a multitude of ways: as a 1-layer round, square, or 11×7-inch rectangle cake; as a gingerbread loaf cake; or as a layer cake. I originally published this recipe in 2015, and when testing this recipe again this year, we tried all of these variations so we could tell you which pans do and don’t work. We went through a LOT of molasses, and had a LOT of cake to give away.

Here’s what we know: The recipe as written makes about 3 cups of batter, and weighs about 850–890g. A 9-inch springform pan is best because this gingerbread cake rises high. No matter what size pan you use, bake the cake at 350°F (177°C). Insert a toothpick in the center of the cake to test for doneness. If it comes out clean, the cake is done.

Here are the best pans to use (about 35 minutes bake time for each):

Here are the pans that won’t work:

  • There is too much batter for a 9-inch round cake pan.
  • There is not enough batter for a 9×13-inch pan or a Bundt pan.
Can I make this as a gingerbread layer cake?

Yes! I suggest making the batter twice, and reducing the molasses (see Note below). This will be a lot of batter (about 6 cups or 1745g) and is the perfect amount for a 3-layer cake. Grease three 9-inch round cake pans, line with parchment paper rounds, then grease the parchment paper. Fill the cake pans halfway (about 575g batter in each). Bake for 22–25 minutes. If you don’t want to make the batter twice, you can make it once and bake it in three 6-inch round cake pans, to make a 3-layer 6-inch cake.

Can I make this as gingerbread cupcakes?

Yes! For about 14 cupcakes, fill liners halfway and bake for 20-22 minutes. Or try my slightly different recipe for gingerbread cupcakes.

spiced cream cheese frosting in glass bowl with hand beaters.

Topping Gingerbread Cake

This gingerbread snack cake is absolutely fantastic on its own—you don’t even need frosting! But if you want to make it a little more special, slather on some sweet and tangy spiced cream cheese frosting. (Included in the recipe card below.) It’s like absolute heaven on this not-too-sweet cake.

You can also give it a simple dusting of confectioners’ sugar, a dollop of whipped cream, or try the lemon glaze I pair with these just-as-tasty gingerbread muffins.

Or keep it plain so you can warm your slice up and top it with vanilla ice cream. Maybe a little salted caramel sauce on top there, too? Why not!?

I also love to garnish it with cranberries for color. Sugared cranberries are especially festive, and see my notes in that tutorial for sugared rosemary. Here’s a slice from my 9-inch springform pan:

slice of gingerbread cake with cream cheese frosting on top and sugared cranberries.

Here’s the layered cake, detailed in the recipe Notes below:

3 layer gingerbread cake with cream cheese frosting and sugared cranberries on top.

And here’s the gingerbread cake baked in a 9-inch square pan with festive Christmas sprinkles. The little holly decorations are by the brand Wilton, and I can’t seem to find them online anymore. These Christmas trees are similar, though!

If you love smaller-scale cake recipes like this, try this small chocolate cake or my easy 1-layer sprinkle cake.

More Gingerbread Recipes

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
slice of gingerbread cake with cream cheese frosting on top and sugared cranberries.

Spiced Gingerbread Cake

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.7 from 46 reviews
  • Author: Sally
  • Prep Time: 20 minutes
  • Cook Time: 35 minutes
  • Total Time: 3 hours, 55 minutes (includes cooling)
  • Yield: serves 8-10
  • Category: Cake
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

This is my timeless classic gingerbread. You can enjoy it plain or with a dusting of confectioners’ sugar or dollop of whipped cream. You can also top it with spiced cream cheese frosting (recipe included below). You can make it as a single layer round or square cake, or try the layer cake versions detailed in the Notes.


Ingredients

  • 2 cups (250g) all-purpose flour (spooned & leveled)
  • 1 teaspoon baking soda
  • 1 and 1/2 teaspoons ground ginger
  • 1 and 1/2 teaspoons ground cinnamon
  • 1/4 teaspoon ground cloves
  • 1/4 teaspoon salt
  • 3/4 cup (180ml or 225g) unsulphured or dark molasses (do not use blackstrap; I prefer Grandma’s brand)
  • 3/4 cup (180ml) hot water (about 100°F (38°C))
  • 1/2 cup (8 Tbsp; 113g) unsalted butter, softened to room temperature
  • 1/3 cup (67g) packed light or dark brown sugar
  • 1 large egg, at room temperature
  • 1 teaspoon pure vanilla extract

Spiced Cream Cheese Frosting (optional)

  • 8 ounces (226g) full-fat brick cream cheese, softened to room temperature
  • 2 Tablespoons (28g) unsalted butter, softened to room temperature
  • 1 and 3/4 cups (210g) confectioners’ sugar
  • 1 teaspoon pure vanilla extract
  • small pinch each of ground cinnamon, ginger, and cloves
  • optional: sprinkles and/or sugared cranberries for garnish


Instructions

  1. Adjust the oven rack to the lower third position and preheat oven to 350°F (177°C). Grease a 9-inch springform pan, 9-inch square pan, or 11×7-inch rectangle pan. Set aside.
  2. In a medium bowl, whisk the flour, baking soda, ginger, cinnamon, cloves, and salt together until combined. Set aside.
  3. In a separate bowl or in a liquid measuring cup, whisk the molasses and hot water together.
  4. In a large bowl using a handheld or stand mixer fitted with a paddle attachment, beat the butter on high speed until smooth and creamy, about 1 minute. Add the brown sugar and beat on high speed for 2 minutes until creamed together fairly well. Scrape down the sides and up the bottom of the bowl with a silicone spatula as needed. (Here’s a helpful tutorial if you need guidance on how to cream butter and sugar.) On medium-high speed, beat in the egg and vanilla until combined. Scrape down the sides and up the bottom of the bowl with a silicone spatula as needed. With the mixer on low speed, add the dry ingredients in three additions alternating with the hot water/molasses, beginning and ending with the dry ingredients, and mixing each addition just until incorporated. Avoid over-mixing. Give it a whisk by hand at the end to make sure there are no large lumps (a few small lumps are OK). Batter is slightly thick.
  5. Pour batter into prepared pan. Bake for around 35 minutes, or until the cake is baked through. To test for doneness, insert a toothpick into the center of the cake. If it comes out clean with only a couple moist (not wet) crumbs, it’s done.
  6. Allow cake to cool completely in the pan set on a wire rack. The cake must be completely cool before frosting.
  7. Make the frosting: In a large bowl using a handheld mixer or stand mixer fitted with a whisk or paddle attachment, beat the cream cheese and butter together on medium-high speed until creamy and no lumps remain, about 2 minutes. Add confectioners’ sugar, vanilla extract, and pinches of spices. (Note that the video does not include the spices in the frosting, but the pictures do!) Beat on low speed for 20 seconds, then increase to high speed until everything is completely combined and the frosting is creamy. Taste. Add a pinch of salt if frosting is too sweet. Spread on top of cake. Spread around the sides if you have extra frosting.
  8. Slice and serve.
  9. Cover leftover cake tightly and store in the refrigerator for up to 5 days.

Notes

  1. Make Ahead & Freezing Instructions: Prepare cake through step 6. Wrap the baked and cooled cake tightly and keep at room temperature for 1 day or freeze up to 3 months. Bring to room temperature (if frozen) then continue with step 7. Frosting can also be made 1 day ahead of time. Cover tightly and refrigerate overnight. Beat the frosting on medium speed for a few seconds so it’s creamy again, if needed. Frosted cake freezes well, up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature or serve cold. See How to Freeze Cakes.
  2. Special Tools (affiliate links): 9-inch Springform Pan | Glass Mixing Bowl | Whisk | Electric Mixer (Handheld or Stand) | Silicone Spatula | Cooling Rack | Offset Icing Spatula
  3. Different Size Pans: No matter what size pan you use, bake the cake at 350°F (177°C). A 9-inch springform pan or 10-inch springform pan is best because this gingerbread cake rises pretty high. 9-inch cake pans are too short. You can also use a 9-inch square pan or 11×7-inch rectangle pan. For all of these pans, the bake time will be about 35 minutes. Insert a toothpick in the center of the cake to test for doneness. If it comes out clean, the cake is done. There is not enough batter for a 9×13-inch cake pan or a Bundt pan.
  4. Gingerbread Cupcakes: For about 14 cupcakes, fill liners halfway and bake for 20–22 minutes. Or try my slightly different recipe for gingerbread cupcakes.
  5. 9-Inch Layer Cake: You can make this as a 3-layer 9-inch cake. I suggest making the batter twice, and reducing the molasses to 1/2 cup (150g) in each (for 1 cup (300g) total in the layer cake). You do not have to reduce the water. Don’t double this recipe—make it twice and then combine the batters; the batter is too heavy to double all at once. You will have about 6 cups or 1745g of batter. Grease three 9-inch round cake pans, line with parchment paper rounds, then grease the parchment paper. Fill the cake pans halfway (about 575g batter in each). Bake the layers for 22–25 minutes. The best amounts/ratio of ingredients to use for the frosting would be the same cream cheese frosting from this carrot cake recipe. Feel free to still add a pinch of cinnamon, ginger, and cloves to it if desired.
  6. 6-inch Layer Cake: You can make the batter as written above and divide it between 3 6-inch round cake pans, to make a 3-layer 6-inch cake. The cream cheese frosting written above is enough for the 3-layer 6-inch cake.
  7. Adapted from Gingerbread Muffins.
sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sally’s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Reader Comments and Reviews

  1. Lindsey Duncan says:
    November 10, 2025

    This is a long shot, but have you ever tried to turn this into a swiss roll? My instinct is (just from reading the recipe) it would be too dense for a roll.

    Reply
    1. Stephanie @ Sally's Baking says:
      November 11, 2025

      Hi Lindsey, We haven’t but let us know if you try anything!

      Reply
  2. Miriam says:
    November 9, 2025

    What a lovely snack cake for the fall season! It turned out perfectly – I wouldn’t change a thing.

    Reply
  3. A happy baker says:
    October 21, 2025

    Oh my gosh, I made this without trying it for a friend’s birthday that loves gingerbread and I had to come back and let you know that this is hands down the most delicious gingerbread cake I’ve eaten in my life! She loved it, by the way. Thank you for this awesome recipe!!!

    Reply
  4. DGreen says:
    October 19, 2025

    This is ridiculously delicious. I serve it without the frosting- and with caramel sauce and whipcream.

    Reply
  5. Mary Ann says:
    October 16, 2025

    It says to grease the pan, not grease and flour. Is that correct?

    Reply
    1. Trina @ Sally's Baking says:
      October 16, 2025

      Hi Mary Ann, correct. We usually use baking spray like Pam.

      Reply
  6. Judy says:
    October 4, 2025

    Sally,
    I love your recipes. I’ve been cooking for a very long time and I find your combinations and measurements divine and the simple instructions very helpful!
    Best wishes for continued success.

    Reply
  7. Ford says:
    August 27, 2025

    Question: Can I replace half or all the butter called for with a thick yogurt?

    Reply
    1. Lexi @ Sally's Baking says:
      August 27, 2025

      Hi Ford, no, we do not recommend that swap here.

      Reply
  8. Nico K says:
    July 25, 2025

    Absolutely perfect recipe, Sally. I used my ceramic 8×8 pan, and I started checking the cake at 35, knowing it would take ever so slightly longer, and it was perfect at 41 minutes. I added a little extra spice, because we love it that way, and some orange zest to the cream cheese buttercream frosting, and even though it’s the middle of the summer, my husband and I are delighted with this cake (especially with breakfast coffee). Thank you for sharing this excellent, well-written and well-designed recipe and method. It’s the best gingerbread cake I’ve had since probably a Kristkindl market in the ’80s.

    Reply
  9. Linda Irrgang says:
    February 20, 2025

    Love it!! Make it again!!

    Reply
  10. Amy says:
    January 17, 2025

    Hi!

    I have the same question as Hilary on 12/17/24 and didn’t see an answer. The linked recipe to Spiced Gingerbread Loaf has 2/3 cups molasses but everything else is the same as this recipe (3/4 cup molasses for the cake), is this a typo here or there, or is more molasses needed for a cake vs a loaf?

    Reply
    1. Sally @ Sally's Baking says:
      January 27, 2025

      Hi Amy! There isn’t a typo. I decreased the amount in the loaf so the molasses flavor isn’t as strong. You can certainly bake it with 3/4 cup, just like this cake. The flavor difference is faint.

      Reply
  11. Lisa J says:
    January 8, 2025

    Hi Sally! Can this be made in a loaf pan? And also, do you have any buckwheat bread or sweets recipes? Thank you!

    Reply
    1. Trina @ Sally's Baking says:
      January 8, 2025

      Hi Lisa, here’s our gingerbread loaf cake recipe. We don’t have any recipes that use buckwheat, sorry we can’t help more!

      Reply
  12. carolina says:
    January 1, 2025

    Cake tasted wonderful–thank you so much, Sally & team! One question: any idea why it might dome a lot in a 9-inch springform pan? Yours seems to have a pretty level top, but mine rose in a very distinct dome shape. Could it be over-mixing? Under-mixing? (It was still a hit, so thank you!)

    Reply
    1. Stephanie @ Sally's Baking says:
      January 2, 2025

      Hi Carolina, We are glad you enjoyed this recipe! That’s perfectly normal for this recipe and ours does dome also (you can see it in the photos above of the slices). If you feel yours domes too much, check your oven temperature. Sometimes if the oven is too hot, the edges can set quickly while the middle is still rising.

      Reply
  13. Dg says:
    December 27, 2024

    Perfect recipe! I used a kitchen scale to measure the ingredients and the cake was delicious- very moist. I topped it with homemade caramel sauce- and whipcream. I took it out of the oven five minutes early and it was perfect.

    Reply
  14. Becca says:
    December 26, 2024

    This is the 3rd Christmas I’ve made this recipe and it’s my absolute favorite!! I use gluten free flour, and use a homemade orange zest & rosemary buttercream — it’s divine! I agree the flavor is even better the next day. Next year I’ll try the spiced pear gingerbread cake!

    Reply
  15. Madelyn says:
    December 25, 2024

    Very good flavor, but was a bit dry- probably my fault. I baked in a 9 inch spring form and took out at 32 min and it was already overdone.

    Reply
  16. SeeKay says:
    December 24, 2024

    I’ve never made a cream cheese frosting that called for milk before – I thought it might make the frosting too thin, but I figured this is a popular site that must test its recipes. WRONG. A needless waste of time and ingredients – it boggles the mind that an established site like this would fail at something so basic. Use any recipe from any other source and you will get a better result.

    Reply
  17. Julie Barton says:
    December 23, 2024

    My family loved the gingerbread. I added two diced pears and it was amazing. I used a springform pan.

    Reply
  18. Diane Ziemski says:
    December 20, 2024

    Thanks, I like the fact that you give different size pan suggestions. I am a 73 year old Home Ec college degree and I appreciate your work
    One suggestion try it the old fashioned way with a sweet warm lemon sauce…. You will add that when you update.

    Reply
  19. Ruzgar says:
    December 19, 2024

    Is there a possible substitute for molasses? Because it’s nearly impossible to find molasses in my country. And I’d like to try this recipe.

    Reply
    1. Stephanie @ Sally's Baking says:
      December 19, 2024

      Hi Ruzgar, Unfortunately there isn’t a substitute for molasses that will still give you that signature gingerbread taste. Some readers use golden syrup, but the flavor profile will change.

      Reply
      1. A says:
        September 14, 2025

        But you CAN make your own molasses! Surprised you didn’t mention that! 🙂 Easy enough to search for recipes

    2. Laura says:
      April 13, 2025

      You could try pomegranate molasses or date syrup. Not the same as molasses but both will accompany the gingerbread spices nicely.

      Reply
  20. Hillary says:
    December 17, 2024

    The linked recipe to Spiced Gingerbread Loaf has 2/3 cups molasses but everything else is the same as this recipe (3/4 cup molasses for the cake), is this a typo here or there, or is more molasses needed for a cake vs a loaf?

    Reply
  21. Cynthia says:
    December 17, 2024

    Wonderful recipe! My mother made this for Christmas- one of our favorites. We ate it with a simple lemon sauce. So delicious. Her recipe has been lost and thus is the closest. Thank you!

    Reply
  22. Rebecca Peerless says:
    December 17, 2024

    Merry Chirstmas!
    If I double this recipe will it fit in a 9X13 cake pan? Thank you!

    Reply
    1. Trina @ Sally's Baking says:
      December 17, 2024

      Hi Rebecca, our cake pan sizes and conversions guide will be helpful for determining how best to scale this recipe for a 9×13 cake. Hope it’s a hit!

      Reply
  23. GG says:
    December 17, 2024

    This sounds wonderful. I want to bake these in a small bundt cake pan: 4 cup and 6 cup. Any suggestions?

    Reply
    1. Trina @ Sally's Baking says:
      December 17, 2024

      Hi GG! We haven’t tested this recipe in a smaller Bundt pan. It should work, just be careful not to over-fill. Let us know if you give it a try!

      Reply
  24. Catherine says:
    December 17, 2024

    Just made this recipe for the gals in my drawing class. So I made cupcakes. Went a bit heavy on the spices but otherwise went exactly by the recipe. The cooking time was shorter than expected but i started them at 425 to get a rise then turned the oven down to 350 after 5”. The flavor and texture were spot on. Very good. This recipe is going in the recipe book.

    Reply
  25. Alex says:
    December 16, 2024

    The Spiced Gingerbread Cake recipe worked fabulously for mini layer cakes! I baked the recipe as a sheet cake with reduced baking time, cut out 2″ rounds, then used the cream cheese frosting from the carrot cake (as suggested in the notes), and topped each cake with sugared rosemary and cranberries. The mini cakes were both cute and delicious, perfect for giving multiple friends their own holiday treat. Thank you for this versatile recipe!

    Reply
  26. CoCo says:
    December 14, 2024

    Can the recipe work using dairy free butter? How about using dairy alternatives for the cream cheese frosting? Thanks!

    Reply
    1. Beth @ Sally's Baking says:
      December 15, 2024

      Hi CoCo, we wish we could help, but we haven’t tested this recipe with dairy-free butter or cream cheese alternatives, so are unsure what to recommend. If you decide to try it, please let us know how it goes!

      Reply
  27. Mel says:
    December 14, 2024

    Sally would making this batter twice be enough to fill a bundt pan?

    Reply
    1. Beth @ Sally's Baking says:
      December 14, 2024

      Hi Mel, we haven’t tested this recipe in a Bundt pan but do have this Chocolate Gingerbread Bundt that you might like!

      Reply
  28. Jeannette says:
    December 12, 2024

    Can you brown the butter in this recipe?

    Reply
    1. Stephanie @ Sally's Baking says:
      December 12, 2024

      Hi Jeannette, You likely could but with the molasses and spices you wouldn’t really notice the brown butter flavor in the cake.

      Reply
  29. Nancy Logan says:
    December 7, 2024

    I love gingerbread and this is the best cake I’ve baked! Not heavy, perfectly balanced spice (I measured very generously) with a tender, moist texture – not sticky. I baked it in a 9 in square pan, and added a small handful of raisins. No topping or frosting was needed. It stayed delicious for four days, in the pan covered tightly with foil, in a cool kitchen. Thank you Sally! All ginger lovers, try this!

    Reply
  30. Linda Young says:
    November 29, 2024

    Hi Sally can I double this recipe?

    Reply
    1. Michelle @ Sally's Baking says:
      November 29, 2024

      Hi Linda, We suggest making the batter twice. (Don’t double it– make it twice and combine them.) This will be a lot of batter and should be the perfect amount for a 3 layer cake.

      Reply
      1. Lex says:
        December 14, 2024

        Hi why make the recipe twice for a layer cake instead of doubling?

      2. Beth @ Sally's Baking says:
        December 14, 2024

        Hi Lex, the batter is too heavy to double all at once. See the recipe Notes section for the full instructions on making this as a layer cake.