changed logic on borrow