finish borrow and return