Gather all the ingredients
Cream the butter, sugar, and eggs together
In another bowl mix all the dry ingredients- flour,cocoa powder, baking powder & walnuts(optional)
Mix everything together and put it into a greaseproof baking tin. Bake it for 30mins at 150 degrees. Or if a knife inserted in the mix comes out clean it is cooked!!