That is pretty much the principle of it, so you've got it right.