Sales for the quarter increased by 63% as we experienced higher pricing for ethanol, distiller grains and corn oil.
Ethanol sales for the quarter were based upon 69 million gallons this year versus 74.6 million last year.
We reported gross profit of $25.2 million from continuing operations versus a gross profit of $18.9 million in the prior year.
Ethanol pricing improved by 76%, dried distiller grain improved by 43% and corn oil pricing improved by 146% for this year's quarter over the prior year quarter.
Corn cost increased by 97% and natural gas pricing increased by 119% for this year's quarter compared to the prior year.
SG&A increased for the third quarter to $6.3 million from $4.3 million in the prior year.
We had income of $349,000 from our unconsolidated equity investment in this year's third quarter versus income of $1.2 million in the prior year.
Interest and other income decreased to approximately $35,000 versus $537,000 in the prior year, primarily reflecting the lower interest rate environment.
We reported $2 million of net income reportable to REX shareholders from discontinued operations for the third quarter.
This also resulted in us reporting a tax provision of $4.3 million for the third quarter of this year versus a provision of $5 million in the prior year from our continuing operations.
These factors led to net income attributable to REX shareholders from continuing operations of $13.3 million for this year's third quarter versus $9 million in the prior year, a 47% improvement.
Our net income per share from continuing operations attributable to REX shareholders was $2.23 for this year versus a $1.47 in the prior year.
Total net income per share, attributable to REX shareholders, including the discontinued operations was $2.56 for the quarter versus a $1.44 in the prior year.
Tax credits that -- we have not used that yet, we'll carry forward for up to 20 years, will help our cash flow significantly over in the next few years, assuming we continue to make good earnings.
Cash balance right now has risen to $219 million, up significantly from year-end of $108.7 million.
We bought back almost 67,000 shares in the quarter, we're working on our carbon capture project which Zafar again will talk about.
Again, our cash balance as you can see on the balance sheet, $219 million.

Summary:
Total net income per share, attributable to REX shareholders, including the discontinued operations was $2.56 for the quarter versus a $1.44 in the prior year.