Joan bought a business machine for $15,000. In a later year, she sold the machine for $12,800 when the total allowable depreciation is $8,500. The depreciation actually taken on the tax returns totaled $8,000. Joan must recognize a gain (or loss) of ______.