Investors haven’t been terribly pleased with Apple’s performance in recent quarters, primarily due to slowed growth. That changed on Monday, however, as the nation’s largest technology company posted fiscal fourth quarter figures that surpassed analysts’ expectations by a wide margin and even topped Apple’s own guidance.

For the quarter ending September 27, Apple reported quarterly revenue totaling $42.1 billion with a net profit of $8.5 billion, or $1.42 per share.

In comparison, Apple posted $37.5 billion in revenue and $7.5 billion ($1.18 per share) during the year-ago quarter.

apple q4 iphone apple earnings quarterly report iphone 6 iphone 6 plus

As you might expect, the launch of the iPhone 6 and iPhone 6 Plus played a large role in Apple’s performance. The company sold 39.3 million smartphones during the quarter, up from just 33.8 million during the same time last year. It’s worth noting that the two new iPhones were only on sale for 12 days as part of the quarter. 

Apple didn’t divulge exactly how many of each model it sold, however.

The iPad, meanwhile, continued its downward skid. Analysts expected the company to sell 13 million units but Apple only managed to move 12.3 million. That’s down from 14.08 million tablets sold last year during the same period and is the third quarter in a row with declining sales.

With Apple essentially looking to phase out its small tablet, that number may continue to slide as we move forward.

Consumers also bought 5.5 million Macs during the quarter.

Apple said it expects revenue between $63.5 billion and $66.5 billion for the holiday quarter.