In a bowl, mix sugar, flour, eggs and butter.
Add nuts, spices, baking powder to the resulting mass, mix well so that all ingredients are evenly distributed throughout the dough. The dough should have the consistency of thick sour cream.
Grease the baking pan with oil. If you use a silicone one, you don't have to do this. Pour the resulting mass into the pan.
Bake in a preheated oven at 160°C for 30-40 minutes.