Accumulated Earnings Problem

Hey guys, could someone explain this to me? Thanks! Daystar Corp., which is not a mere holding or investment company, derives its income from retail sales. Daystar had accumulated earnings and profits of $145,000 at December 31, 2006. For the year ended December 31, 2007, it had earnings and profits of $115,000 and a dividends paid deduction of $15,000. No throwback distributions have been made. It has been determined that $20,000 of the current and accumulated earnings and profits for 2007 is required for the reasonable needs of the business. How much is the allowable accumulated earnings credit at December 31, 2007? A $90,000 B $105,000 C $230,000 D $250,000 Answer (B) is correct.