Solution to sales_tax_problem