I didn't know this was tax avoidance — I thought it was just standard planning! If you borrow from your own company, you've got to remember that you still have to pay it back — or pay the tax when you decide you won't repay it.