Mix together flour, sugar, baking powder and spices. Cut shortening into flour mixture (like pie crust). Mix egg and milk; add to flour mixture. Add flavoring or add flavorings to egg and milk before mixing with flour mixture. Spread 1/3 into greased 8 inch square pan. Cover with jam (raspberry is good). Spread remaining flour mixture over jam. Just spoon on carefully - doesn't have to be real evenly spread. Bake at 400 degrees for 25 minutes.