Nintendo reported better-than-expected revenues and operating profit for the September quarter on Monday, while raising its own forecasts including for sales of its flagship Switch console.

The Japanese electronics giant reported the following results for its fiscal second quarter:

Revenue of 219.9 billion Japanese yen ($1.9 billion) versus 174 billion yen expected, according to Reuters estimates

Operating profit of 23.7 billion yen versus 19 billion yen expected, according to Reuters estimates

Nintendo reported a loss in the same period last year.

The strong results were helped by continued strength of the Nintendo Switch console. Nintendo said it sold 2.9 million Switch units in the quarter, bringing the total number sold so far to 7.63 million units. The company said it also sold 22.02 million Switch games in the last six months.