CALCULATION OF TAX