The increase in real GDP in the second quarter primarily reflected positive contributions from PCE, nonresidential fixed investment, exports, federal government spending, and private inventory investment that were partly offset by negative contributions from residential fixed investment and state and local government spending. Imports, which are a subtraction in the calculation of GDP, increased.