Back in May, amid the height of the COVID-19 pandemic and a recovering stock market, billionaire investor David Tepper added to a chorus of concerns that the stock market was overvalued.

In fact, Tepper told CNBC’s Scott Wapner that the market was “maybe the second most overvalued” he’s ever seen, barring the dot-com bubble.

From there, stocks continued to rally, and just hit record all-time highs earlier this week.

Luckily, Tepper’s hedge fund, Appaloosa Management, stayed invested in the market. The fund had a long portfolio valued at $5.7 billion as of the second quarter, according to a 13F filed with the Securities and Exchange Commission last week.

Here were the top 10 holdings of Appaloosa Management in the second quarter.

Read More:A JPMorgan equity chief sees stocks staying rangebound for another year, even if there's a vaccine breakthrough - but says investors can still get big returns in these 11 regions and sectors

10. Mastercard

Ticker: MA Market Value: $161.2 million Percent of Portfolio: 2.80% Change in Ownership: New position

9. Visa

Ticker: V Market Value: $162.2 million Percent of Portfolio: 2.82% Change in Ownership: New position

8. Twitter

Ticker: TWTR Market Value: $165.3 million Percent of Portfolio: 2.87% Change in Ownership: Added +20,000 shares (+0%)

7. AT&T

Ticker: T Market Value: $274.4 million Percent of Portfolio: 4.77% Change in Ownership: New position

6. Alphabet

Ticker: GOOG Market Value: $472.1 million Percent of Portfolio: 8.20% Change in Ownership: Sold 27,000 shares (-7%)

5. Micron Technology

Ticker: MU Market Value: $481.7 million Percent of Portfolio: 8.37% Change in Ownership: Added +490,000 shares (+5%)

4. Facebook

Ticker: FB Market Value: $507.0 million Percent of Portfolio: 8.81% Change in Ownership: Sold 180,000 shares (-7%)

3. T-Mobile

Ticker: TMUS Market Value: $614.5 million Percent of Portfolio: 10.67% Change in Ownership: Added +5.1 million shares (+666%)

2. Amazon

Ticker: AMZN Market Value: $620.7 million Percent of Portfolio: 10.78% Change in Ownership: Sold 25,000 shares (-10%)

1. Alibaba

Ticker: BABA Market Value: $727.9 million Percent of Portfolio: 12.64% Change in Ownership: Added +1.1 million shares (+49%)

Read More:A $5 billion chief market strategist shares 5 post-pandemic stocks to buy now for gains as COVID-19 cases level off - and 2 big-tech winners to start cashing out of