Paying off a prior mortgage to obtain a lower rate or cash out with a new mortgage.