Sieve the flour, cocoa powder, baking powder and soda. Take a bowl add sugar and oil mix well and beat with a hand beater for 5 minutes or until it becomes fluffy. Now add all dry ingredients little by little and mix well. Add milk and make a smooth batter. Make sure there are no lumps in it. Now add chopped walnuts.