Tesla shares rally 20%, a move that puts the title on course for his best day since 2013after announcing that earnings for the third quarter of the year came in better than estimates.

The company announced total revenue of $25.18 billionwhich came in marginally lower than analysts’ estimates (putting them at $25.37 billion), recording, however, an 8% increase compared to last year. Adjusted net earnings per share settled at 72 centsbeating analysts’ average estimate of 58 cents.

“We believe that the positive earnings surprise will create a positive reaction for Tesla shares, as long-term investors are accustomed to the company’s earnings misses.” JP Morgan analysts said in a note.

Tesla’s profit margins were boosted in the third quarter by $739 million from regulatory emissions credits, which JP Morgan analysts characterized as an “unsustainable factor” in relation to future cash flows.

Automakers by law receive a certain amount in regulatory emissions credits each year, and if they don’t meet their targets they can buy credits from other companies. Tesla has a surplus of credits as it only manufactures electric vehicles.

Tesla CEO Elon Musk said during a conference call with analysts that his estimate is that the “increase in vehicles” it will reach 20% or even 30% of the timeciting “lower cost cars” and the “advent of autonomy”. Analysts polled by FactSet had estimated that car registrations will show a 15% increase by 2025.

Analysts at Morgan Stanley, who recommend “buy” for the stock, gave some “probability” to Musk’s estimates. However, their own forecast is for an increase of around 14%.

“It clearly depends on the company’s ability to create a more accessible environment, through a more economical model, financing offers and improved features” Morgan Stanley analysts said.

With the rally recorded at this time, the Tesla share erases the losses of the year and now moves with a profit of 2%. However, it still falls short of the 22% rise recorded by the Nasdaq.