As Tesla gets ready to begin production on its much-anticipated Model 3 sedan, the company posted a wider-than-expected fourth-quarter loss, despite sales coming in a bit better than expected.

The company also said its former chief financial officer, Deepak Ahuja, would return to the company next month, replacing Jason Wheeler, who plans to leave at the end of April.