whisk 3 cups flour, the baking powder and salt in a bowl until combined. beat 2 sticks butter and the sugar in a large bowl with a mixer on medium-high speed until light and fluffy, about 3 minutes. reduce the mixer speed to medium; beat in the eggs, one at a time, scraping down the bowl as needed. beat in the vanilla.