If you need to take on debt, do it right