Set the oven to 170C
Using a medium sized bowl mix the dry ingredients. Start with the flour, baking powder and baking soda. Sift the cocoa to get rid of any lumps. Lastly mix in the sugar.
Measure out the oil and the milk and pour into a bowl with the vanilla. Whisk the two eggs into the liquid.
Mix the liquid and dry mixes together till smooth and shiny.
Spoon the cake mix into cupcake wrappers. Depending on the size of the wrappers you will need 9 to 12. Put them onto a tray and fill 3/4 full leaving just a small rim.
Bake the cakes for 25 to 30 minutes or until cooked through when tested with a toothpick
Set them aside to cool while the icing is made