Lifted by higher refining margins and stronger prices, energy titan ExxonMobil (XOM) narrowly beat the Street on Thursday with a 41% leap in third-quarter earnings.

The Irving, Tex.-based blue-chip company said it earned $10.33 billion, or $2.13 a share, last quarter, compared with a profit of $7.35 billion, or $1.44 a share, a year earlier. Analysts had been calling for EPS of $2.12.

Revenue jumped 32% to $125.33 billion, easily surpassing the Street’s view of $113.56 billion.

Despite releasing results that exceeded forecasts from analysts, shares of Exxon gained just 1.15% to $82.00 ahead of the open, underperforming a big rally of 2.5% on the S&P 500 futures.

This story was originally published on Fox Business. Read the rest of the story here.