BELLEVUE, WA - NOVEMBER 28: Microsoft CEO Satya Nadella smiles during the question and answer portion of the Microsoft Annual Shareholders Meeting at the Meydenbauer Center on November 28, 2018 in Bellevue, Washington. Microsoft recently surpassed Apple, Inc. to become the world's most valuable publicly traded company. (Photo by Stephen Brashear/Getty Images)

Microsoft’s Satya Nadella and Google’s Sundar Pichai have claimed top spots in companies-rating platform Comparably’s best CEOs of 2018.

While Nadella came on top of the list, Pichai stood at the third place. The Home Depot’s CEO Craig Menear took the second position.

The ratings were compiled through responses from employees anonymously at some of the country’s largest companies.

Nadella became Microsoft’s CEO in 2014 and a year later Pichai took the reins of Google.

In a recent interview with Cnet, Nadella shared some insight into the workings of Microsoft, and touched upon the things he tried to change about the company.

“One of the things that happens when you’re super successful is you sort of sometimes lose touch with what made you successful in the first place,” Nadella told Cnet. “I wanted to go back to the very genesis of this company: What is that sense of purpose and drive that made us successful? What was the culture that may have been there in the very beginning or in the times when we were able to achieve that success? How do we really capture it?”

Others who have made it to Comparably’s list include Amazon’s Jeff Bezos at the sixth spot and Apple CEO Tim Cook at 12th position. Despite having a very tough year, Tesla’s Elon Musk managed to grab the 14th position. Mark Zuckerberg of Facebook was at the 22nd spot; Dell CEO Michael Dell at 25th; Uber CEO Dara Khosrowshahi at 27th and YouTube CEO Susan Wojcicki at 37th position.