Now playing
01:16
Why rising bond yields are spooking stocks
CNN
Now playing
03:22
Bank of America CEO reveals his top worry about the economy
US Navy
Now playing
01:28
Pentagon confirms UFO video is real, taken by Navy pilot
marte fotos volcan olympus mons sistema solar hope ultravioleta perspectivas mexico_00000411.png
marte fotos volcan olympus mons sistema solar hope ultravioleta perspectivas mexico_00000411.png
Now playing
04:12
Why we are going to Mars
Twitter | @brady9dream
Now playing
02:10
Pet owners pitch their pups to be dog brew's 'Chief Tasting Officer'
Now playing
01:32
Scientists turned spiderwebs into music and it sounds like a nightmare
LONDON, ENGLAND - DECEMBER 07:  A visual representation of the digital Cryptocurrency, Bitcoin on December 07, 2017 in London, England. Cryptocurrencies including Bitcoin, Ethereum, and Lightcoin have seen unprecedented growth in 2017, despite remaining extremely volatile. While digital currencies across the board have divided opinion between financial institutions, and now have a market cap of around 175 Billion USD, the crypto sector coninues to grow, as it continues to see wider mainstreem adoption. The price of one Bitcoin passed 15,000 USD across many exchanges today taking it higher than previous all time highs.  (Photo by Dan Kitwood/Getty Images)
Dan Kitwood/Getty Images
LONDON, ENGLAND - DECEMBER 07: A visual representation of the digital Cryptocurrency, Bitcoin on December 07, 2017 in London, England. Cryptocurrencies including Bitcoin, Ethereum, and Lightcoin have seen unprecedented growth in 2017, despite remaining extremely volatile. While digital currencies across the board have divided opinion between financial institutions, and now have a market cap of around 175 Billion USD, the crypto sector coninues to grow, as it continues to see wider mainstreem adoption. The price of one Bitcoin passed 15,000 USD across many exchanges today taking it higher than previous all time highs. (Photo by Dan Kitwood/Getty Images)
Now playing
03:07
Bitcoin has an energy problem
Accused $50 billion Ponzi scheme swindler Bernard Madoff exits federal court March 10, 2009 in New York City. Madoff was attending a hearing on his legal representation and is due back in court Thursday.  (Photo by Mario Tama/Getty Images)
Mario Tama/Getty Images
Accused $50 billion Ponzi scheme swindler Bernard Madoff exits federal court March 10, 2009 in New York City. Madoff was attending a hearing on his legal representation and is due back in court Thursday. (Photo by Mario Tama/Getty Images)
Now playing
03:11
Bernie Madoff, infamous Ponzi schemer, dead at 82
Now playing
05:18
Coinbase CFO: We're an on-ramp to the crypto economy
A man checks vine buds during the burning of anti-frost candles in the Luneau-Papin wine vineyard in Le Landreau, near Nantes, western France, on April 12, 2021, as temperatures fall below zero degrees celsius.
Sebastien Salom-Gomis/AFP/Getty Images
A man checks vine buds during the burning of anti-frost candles in the Luneau-Papin wine vineyard in Le Landreau, near Nantes, western France, on April 12, 2021, as temperatures fall below zero degrees celsius.
Now playing
01:37
See how French winemakers are trying to save their crops from frost
SUEZ, EGYPT - MARCH 29: The container ship 'Ever Given' is refloated, unblocking the Suez Canal on March 29, 2021 in Suez, Egypt. This morning the container ship came partly unstuck from the shoreline, where it ran aground in the canal last Tuesday, and later resumed its course shortly after 3pm local time. The Suez Canal is one of the world's busiest shipping lanes and the blockage had created a backlog of vessels at either end, raising concerns over the impact on global shipping and supply chains. (Photo by Mahmoud Khaled/Getty Images)
Mahmoud Khaled/Getty Images
SUEZ, EGYPT - MARCH 29: The container ship 'Ever Given' is refloated, unblocking the Suez Canal on March 29, 2021 in Suez, Egypt. This morning the container ship came partly unstuck from the shoreline, where it ran aground in the canal last Tuesday, and later resumed its course shortly after 3pm local time. The Suez Canal is one of the world's busiest shipping lanes and the blockage had created a backlog of vessels at either end, raising concerns over the impact on global shipping and supply chains. (Photo by Mahmoud Khaled/Getty Images)
Now playing
00:57
Egypt seizes Ever Given ship, asks for $900M in compensation
CNN
Now playing
03:06
Hear doctor's message for people with J&J vaccine concerns
Barbers from King's Cutz give haircuts indoors while observing COVID-19 safety restrictions on March 13, 2021 in Los Angeles, California.
Mario Tama/Getty Images
Barbers from King's Cutz give haircuts indoors while observing COVID-19 safety restrictions on March 13, 2021 in Los Angeles, California.
Now playing
01:43
US consumer prices increased in March
Now playing
03:21
Teachers under pandemic stress are quitting: I didn't feel safe
Domino's autonomous vehicle will deliver your pizza
Domino's
Domino's autonomous vehicle will deliver your pizza
Now playing
01:12
Watch this robot deliver a Domino's pizza
Now playing
01:27
See the first community of 3D-printed homes
(CNN) —  

The chief executives of Barclays and Deutsche Bank have both been overhauling their banks. One is already reaping the rewards and the other may do soon.

After years spent slashing jobs, scaling back their investment banks, and paying the price of previous corporate misconduct, both big banks are getting back to business — and their earnings are beating expectations.

Barclays (BCS) has made the most progress. CEO Jes Staley said a strong third quarter in corporate and investment banking showed that a restructuring program completed last year was paying off.

“I am pleased to report another quarter which demonstrates that we are firmly on track,” Staley said in a statement.

Profit before tax was £1.6 billion ($2 billion), up 32% on the same quarter the previous year. Shares in Barclays (BCS) increased 2% in London.

Jes Staley, CEO of Barclays, and Christian Sewing of Deutsche Bank.
TOLGA AKMEN/AFP/Getty Images/Thomas Lohnes/Getty Images
Jes Staley, CEO of Barclays, and Christian Sewing of Deutsche Bank.

The CEO of Deutsche Bank (DB) was also upbeat about the progress of Germany’s biggest lender. But the reaction from investors on Wednesday to its latest earnings shows the bank still has a way to go.

Christian Sewing, a retail banking veteran who took over as CEO in April, has tried to accelerate an overhaul under which Deutsche Bank has closed hundreds of branches, cut thousands of jobs and aggressively slashed costs.

The bank reported profit before tax of €506 million ($577 million) in the third quarter, and Sewing said the bank was on track to produce its first annual profit since 2014.

“This result is another milestone on our way to becoming a sustainably profitable bank,” he said in a statement. “We have our costs under control and sufficient capital to grow.”

But Sewing also acknowledged the unfinished work represented by a 9% decline in revenue.

“We have not yet achieved a turnaround in terms of revenues. We must therefore sustain our efforts to grow revenues across our businesses,” he said.

Deutsche Bank shares dropped over 3% in Frankfurt. Analysts at UBS said profit was stronger than expected, driven by lower litigation and restructuring costs, but that “revenues are a touch light.”