Beat butter, all sugars and flavoring until frothy, stir in eggs one after the other. Mix in the flour, baking powder, chocolate and nuts. Put everything in the fridge for about half an hour. Then shape into small balls and place on a baking sheet, press flat with a fork. Chill for another half an hour. Then bake at 200 ° C for 10-15 minutes.