The Dayton Corporation began the current year with a retained earnings balance of $25,000. During the year, the company corrected an error made in the prior year, which was a failure to record depreciation expense of $3,000 on equipment. Also, during the current year, the company earned net income of $12,000 and declared cash dividends of $5,000. Compute the year end retained earnings balance.