01 - 
                Preheat the oven to 350°F (175°C). Grease a 9-inch square baking pan and set aside.
              
              
              
                02 - 
                In a large bowl, whisk together flour, granulated sugar, brown sugar, baking soda, baking powder, salt, cinnamon, nutmeg, and allspice.
              
              
              
                03 - 
                In a separate bowl, mix melted butter, applesauce, eggs, and vanilla extract until well combined.
              
              
              
                04 - 
                Gradually add the wet ingredients to the dry ingredients, stirring until just combined. Fold in walnuts and raisins if using.
              
              
              
                05 - 
                Pour the batter into the prepared baking pan and spread evenly.
              
              
              
                06 - 
                Bake for 35-40 minutes, or until a toothpick inserted in the center comes out clean.
              
              
              
                07 - 
                Let the cake cool in the pan for 10 minutes before transferring to a wire rack to cool completely.
              
              
              
                08 - 
                Serve plain, dusted with powdered sugar, or with a simple glaze if desired.