Anticipating tax risks