how ingredients work in baking