Mix butter with sugar, eggs and vanilla, add flour and baking powder, peel apples, remove seeds and cut into cubes and add to the dough. Put everything on a greased baking tray and bake at 200 degrees for 30 min. sprinkle with icing sugar.