start of code for tax category