Correctly calculate the income.