calculating its taxable income