According to the Commerce Department, U.S. retail sales rose 0.5% in May, beating a forecasted increase of just 0.3%. This followed a 1.3% increase in April and lifted sales 2.5% from a year ago.

The second straight month of gains was fueled by Americans purchasing automobiles and a range of other goods, suggesting economic growth despite a slowdown in job creation. Sales at clothing stores rose 0.8%, the largest gain in six months. Online retail sales, sporting goods and hobby stores all rose 1.3% last month and restaurant and bar sales climbed 0.8% Electronics and appliance outlets also saw a rise in sales with a 0.3% increase. Not everyone saw an increase in retail sales. Sales at building materials and garden equipment stores fell 1.8%, and furniture store sales dipped 0.1%.

The growth in retail sales could impact economist’s second quarter GDP growth estimates which are currently around a 2.5% annualized rate.