Gross margin went from negative to 44.9 percent in five quarters