Case study: preventing tax debt