Document:

<PAGE>

                       THIRD AMENDMENT TO CREDIT AGREEMENT

         THIS THIRD AMENDMENT TO CREDIT AGREEMENT (this "AMENDMENT") is made as
of June 30, 2000, by and among MEDITRUST CORPORATION (the "BORROWER"), MORGAN
GUARANTY TRUST COMPANY OF NEW YORK, as Administrative Agent (the "ADMINISTRATIVE
AGENT"), BANKERS TRUST COMPANY, as Syndication Agent, BANKBOSTON, N.A., as
Co-Documentation Agent, FLEET NATIONAL BANK, as Co-Documentation Agent, and the
BANKS listed on signature pages hereof.

                              W I T N E S S E T H:

         WHEREAS, the Borrower and the Banks have entered into the Credit
Agreement, dated as of July 17, 1998, as amended by an Amendment to Credit
Agreement dated as of November 23, 1998 and the Second Amendment to Credit
Agreement dated as of March 10, 1999 (as so amended, the "CREDIT AGREEMENT");
and

         WHEREAS, the parties desire to modify the Credit Agreement upon the
terms and conditions set forth herein.

         NOW THEREFORE, for good and valuable consideration, the receipt and
sufficiency of which are hereby acknowledged, the parties do hereby agree as
follows:

         1. DEFINITIONS. All capitalized terms not otherwise defined herein
shall have the meanings ascribed to them in the Credit Agreement.

         2. CONSOLIDATED TANGIBLE NET WORTH. The definition of "Consolidated
Tangible Net Worth" is hereby amended by adding the following phrase immediately
at the end of the first sentence thereof (and before the period at the end
thereof):

<PAGE>

         ", plus, without duplication (a) impairments related to healthcare real
         estate assets, (b) reserves against healthcare real estate related
         assets and receivables and (c) losses on the sale of healthcare real
         estate and healthcare real estate related assets all to the extent
         occurring after March 31, 2000 and on or prior to the date of
         determination and not to exceed $100 million in the aggregate"

         3. USE OF PROCEEDS. Each of Sections 4.11 and 5.16 of the Credit
Agreement are hereby amended by adding the following new sentence immediately
after the end of the existing text thereof:

         "Notwithstanding anything to the contrary contained elsewhere in this
         Agreement, to the extent any Tranche A Loans are repaid (whether
         pursuant to Section 2.10 or 2.11 hereof) with Net Cash Proceeds at any
         time after June 30, 2000, the principal amount of Tranche A Loans so
         repaid shall not be reborrowed except after all other amounts available
         to be borrowed as Tranche A Loans have been incurred and so long as the
         proceeds of such re-borrowings are promptly used for the working
         capital needs of the Borrower and its Subsidiaries and in the ordinary
         course of their businesses."

         4. DIVIDENDS. Section 5.8(i) of the Credit Agreement is hereby deleted
in its entirety and replaced by the following new clause (i):

         "(i) DIVIDENDS. The Borrower will not, and will not permit MOC or
any Consolidated Subsidiary to, pay any dividends with respect to capital
stock or other equity interests in the Borrower or MOC; provided, however,
that (a) regularly scheduled preferred dividends may be paid quarterly on the
existing preferred stock of the Borrower outstanding on June 30, 2000 and,
(b) after giving effect to any dividends paid or to be paid pursuant to
preceding clause (a), common stock dividends shall be permitted at a rate of
120% of the amount required by the Borrower to maintain REIT status
(calculated and paid quarterly on an estimated basis).

         5. DEBT PREPAYMENTS. The following Section 5.25 is hereby added to the
Credit Agreement immediately after Section 5.24 thereof:

         "Section 5.25. DEBT PREPAYMENTS. The Borrower shall not, and shall
not permit MOC or any of their Consolidated Subsidiaries to, prepay
(including without limitation by way of repurchasing any outstanding Debt)
any Debt (other than Debt pursuant to this Agreement) at any time outstanding.

                                     -2-

<PAGE>

         6. EFFECTIVE DATE. This Amendment shall become effective when each of
the following conditions is satisfied (or waived by the Required Banks) (the
date such conditions are satisfied or waived being deemed the "EFFECTIVE DATE"):

         (a) the Borrower, MOC and each Guarantor shall have executed and
         delivered to the Administrative Agent a duly executed original of this
         Amendment; and

         (b) the Required Banks shall have executed and delivered to the
         Administrative Agent a duly executed original of this Amendment.

         7. REPRESENTATIONS AND WARRANTIES. To induce the Banks to enter into
this Amendment, the Borrower represents and warrants to the Banks that on the
Effective Date (x) all the representations and warranties of the Borrower, MOC
and each of their Subsidiaries contained in the Credit Agreement or any other
Loan Document are true and correct in all material respects and (y) no Default
or Event of Default is in existence.

         8. ENTIRE AGREEMENT. This Amendment constitutes the entire and final
agreement among the parties hereto with respect to the subject matter hereof and
there are no other agreements, understandings, undertakings, representations or
warranties among the parties hereto with respect to the subject matter hereof
except as set forth herein.

         9. GOVERNING LAW. This Amendment shall be governed by, and construed in
accordance with, the law of the State of New York.

                                     -3-

<PAGE>

         10. COUNTERPARTS. This Amendment may be executed in any number of
counterparts, all of which taken together shall constitute one and the same
agreement, and any of the parties hereto may execute this Amendment by signing
any such counterpart.

         11. HEADINGS, ETC. Section or other headings contained in this
Amendment are for reference purposes only and shall not in any way affect the
meaning or interpretation of this Amendment.

         12. NO FURTHER MODIFICATIONS. Except as modified herein, all of the
terms and conditions of the Credit Agreement, as modified hereby shall remain in
full force and effect and, as modified hereby, the Borrower confirms and
ratifies all of the terms, covenants and conditions of the Credit Agreement in
all respects.

                                    * * *

                                     -4-

<PAGE>

         IN WITNESS WHEREOF, the parties hereto have caused this Amendment to be
duly executed by their respective authorized officers as of the day and year
first above written.

                  BORROWER:                MEDITRUST CORPORATION

                                           By:
                                               ----------------------------
                                               Name:
                                               Title:

         Each of the undersigned Guarantors acknowledges and agrees to the
         foregoing provisions of the Second Amendment to Credit Agreement, and
         further acknowledge and agrees that all Loan Documents executed and
         delivered by them shall remain in full force and effect after giving
         effect to said Second Amendment to Credit Agreement.

                  GUARANTORS:

                                         LA QUINTA INVESTMENTS, INC.

                                         By:
                                             --------------------------------
                                             Name:
                                             Title:

                                         LA QUINTA PLAZA, INC.

                                         By:
                                             --------------------------------
                                             Name:
                                             Title:

                                     -5-

<PAGE>

                              LA QUINTA REALTY CORP.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LQI ACQUISITION CORPORATION

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LA QUINTA MOTOR INNS LIMITED PARTNERSHIP
                                  By:     La Quinta Realty Advisors
                                          Corp., its general partner

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              MT GENERAL LLC

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              MT LIMITED I LLC

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                                     -6-

<PAGE>

                              MEDITRUST OF CALIFORNIA, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LA QUINTA INNS OF LUBBOCK, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LA QUINTA INNS OF PUERTO RICO, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LA QUINTA INNS de MEXICO S.A. de C.V.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LA QUINTA FINANCIAL CORPORATION

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                                     -7-

<PAGE>

                              MEDITRUST OF KANSAS, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LQ-LNL LIMITED PARTNERSHIP
                                  By:     Meditrust corporation, its general
                                          partner

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LA QUINTA WICHITA KANSAS NO. 532, LTD.
                                  By:     Meditrust corporation, its general
                                          partner

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LA QUINTA DENVER PEORIA STREET, LTD.
                                  By:     Meditrust corporation, its general
                                          partner

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                                     -8-

<PAGE>

                              LA QUINTA DEVELOPMENT PARTNERS, L.P.
                                  By:     Meditrust corporation, its general
                                          partner

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              MEDITRUST MORTGAGE INVESTMENTS, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              MEDITRUST OF BEDFORD, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              MEDITRUST FINANCIAL SERVICES CORPORATION

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                                     -9-

<PAGE>
                              MEDITRUST FINANCE CORPORATION

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              MEDITRUST OF THE UK, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              MEDITRUST HOTEL GROUP, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              T AND F PROPERTIES, LP
                                  By:     MT General LLC, its general
                                          partner

                              By:
                                 --------------------------------
                                  Name:
                                  Title:

                                     -10-

<PAGE>

                              SAN JOAQUIN HEALTH CARE ASSOCIATES, L.P.
                                  By:     Meditrust of California, Inc,. its
                                          general partner

                              By:
                                 --------------------------------
                                  Name:
                                  Title:

                              LQM OPERATING PARTNERS, L.P.
                                  By:     La Quinta Realty Advisors Corp.,
                                          its general partner

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              THE LA QUINTA COMPANY

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              LA QUINTA INNS, INC.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              MOC HOLDING COMPANY

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                                     -11-

<PAGE>

                         BANKS:

                         MORGAN GUARANTY TRUST COMPANY OF NEW YORK,
                              as Administrative Agent

                         By:
                              --------------------------------
                              Name:
                              Title:

                         BANKERS TRUST COMPANY, as a
                         Bank and as Syndication Agent

                         By:
                              --------------------------------
                              Name:
                              Title:

                         FLEET NATIONAL BANK, as a Bank and as Co-
                         Documentation Agent

                         By:
                             --------------------------------
                             Name:
                             Title:

                         TORONTO DOMINION (TEXAS), INC.,
                              as a Bank

                         By:
                             --------------------------------
                             Name:
                             Title:

                         CANADIAN IMPERIAL BANK OF COMMERCE,
                             as a Bank

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -12-

<PAGE>

                         ML CLO XIX STERLING (CAYMAN) LTD.
                              By: Sterling Asset Manager, LLC, as its
                                  Investment Advisor

                         By:
                              --------------------------------
                              Name:
                              Title:

                         MERRILL LYNCH GLOBAL INVESTMENT
                         SERIES: INCOME STRATEGIES PORTFOLIO
                              By: Merrill Lynch Asset Management LP,
                                  as Investment Advisor

                          By:
                               --------------------------------
                               Name:
                               Title:

                         MERRILL LYNCH PRIME RATE PORTFOLIO
                              By: Merrill Lynch Asset Management LP,
                                  as Investment Advisor

                         By:
                              --------------------------------
                              Name:
                              Title:

                         MERRILL LYNCH DEBT STRATEGIES PORTFOLIO
                              By: Merrill Lynch Asset management LP,
                                  as Investment Advisor

                         By:
                              --------------------------------
                              Name:
                              Title:

                         MERRILL, LYNCH, PIERCE, FENNER & SMITH INC.

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -13-

<PAGE>

                         VAN KAMPEN SENIOR
                         FLOATING RATE FUND

                         By:
                              --------------------------------
                              Name:
                              Title:

                         VAN KAMPEN SENIOR INCOME
                            TRUST

                         By:
                              --------------------------------
                              Name:
                              Title:

                         VAN KAMPEN PRIME RATE INCOME TRUST

                         By:
                              --------------------------------
                              Name:
                              Title:

                         AERIES FINANCE LTD.

                         By:
                              --------------------------------
                              Name:
                              Title:

                         CERES FINANCE LTD.

                         By:
                              --------------------------------
                              Name:
                              Title:

                         MORGAN STANLEY SENIOR FUNDING, INC.

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -14-

<PAGE>

                         CARAVELLE INVESTMENT FUND, L.L.C.

                           By:
                               --------------------------------
                               Name:
                               Title:

                         CAPTIVA FINANCE LTD.

                         By:
                              --------------------------------
                              Name:
                              Title:

                         CAPTIVA II FINANCE LTD.

                         By:
                              --------------------------------
                              Name:
                              Title:

                         DRESDNER BANK, AG

                         By:
                              --------------------------------
                              Name:
                              Title:

                         By:
                              --------------------------------
                              Name:
                              Title:

                         FIRST DOMINION FUNDING I

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -15-

<PAGE>

                         FRANKLIN FLOATING RATE TRUST

                         By:
                              --------------------------------
                              Name:
                              Title:

                         FIRST UNION NATIONAL BANK

                         By:
                              --------------------------------
                              Name:
                              Title:

                         KZH III LLC

                         By:
                             --------------------------------
                             Name:
                             Title:

                         KZH SHOSHONE LLC

                         By:
                             --------------------------------
                             Name:
                             Title:

                         KZH STERLING LLC

                         By:
                              --------------------------------
                              Name:
                              Title:

                         KZH HIGHLAND-2 LLC

                         By:
                             --------------------------------
                             Name:
                             Title:

                                     -16-

<PAGE>

                         KZH PAMCO LLC

                         By:
                              --------------------------------
                              Name:
                              Title:

                         ML CLO XX PILGRIM AMERICA
                              By: Pilgrim Investments Inc., as
                                  its Investment Manager

                         By:
                              --------------------------------
                              Name:
                              Title:

                         PILGRIM PRIME RATE TRUST
                              By: Pilgrim Investments Inc., as
                                  its Investment Manager

                         By:
                              --------------------------------
                              Name:
                              Title:

                         PAM CAPITAL FUNDING L.P.

                              By: Highland Capital Management, as
                                  Collateral Agent

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                         PAMCO CAYMAN LTD.

                              By: Highland Capital Management,
                                  as Collateral Manager

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                                     -17-

<PAGE>

                              SENIOR DEBT PORTFOLIO
                                  By: Boston Management and Research
                                       as Investment Advisor

                              By:
                                 --------------------------------
                                 Name:
                                 Title:

                              WAINWRIGHT BANK & TRUST COMPANY

                              By:
                                 --------------------------------
                                 Name:
                                 Title:

                              ELC CAYMAN LTD.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              OASIS COLLATERALIZED HIGH
                                  INCOME PORTFOLIOS-I, LTD.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                              PACIFICA PARTNERS I, L.P.

                              By:
                                  --------------------------------
                                  Name:
                                  Title:

                                     -18-

<PAGE>

                         ELC (CAYMAN) LTD. CDO SERIES 1999-I

                         By:
                              --------------------------------
                              Name:
                              Title:

                         ELC (CAYMAN) LTD. 1999-II

                         By:
                              --------------------------------
                              Name:
                              Title:

                         CARLYLE HIGH YIELD PARTNERS, L.P.

                         By:
                              --------------------------------
                              Name:
                              Title:

                         CARLYLE HIGH YIELD PARTNERS II, L.P.

                         By:
                              --------------------------------
                              Name:
                              Title:

                         HARCH CLO I LIMITED

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -19-

<PAGE>

                         SEQUILS - PILGRIM I, LTD. (Assignee)
                              By: Pilgrim Investments, Inc.
                                    as its investment manager

                         By:
                              --------------------------------
                              Name:
                              Title:

                         ML CLO XII PILGRIM AMERICA (CAYMAN) LTD.

                              By: Pilgrim Investments, Inc.
                                    as its investment manager

                         By:
                              --------------------------------
                              Name:
                              Title:

                         HIGHLAND LEGACY LTD.,
                              By: Highland Capital Management L.P.
                                    as Collateral Manager

                         By:
                              --------------------------------
                              Name:
                              Title:

                         SENIOR FLOATING RATE FUND, INC.

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -20-

<PAGE>

                         STANFIELD CLO, LTD.

                         By:
                               --------------------------------
                               Name:
                               Title:

                         AMARA-I FINANCE, LTD.
                              By: INVESCO Senior Secured
                                  Management, Inc. as Subadvisor

                         By:
                              --------------------------------
                              Name:
                              Title:

                         AMARA-2 FINANCE, LTD.
                              By: INVESCO Senior Secured
                                     Management, Inc. as Subadvisor

                         By:
                              --------------------------------
                              Name:
                              Title:

                         STEIN ROE & FARNHAM INCORPORATED
                              as Agent for Keyport Life Insurance Company

                         By:
                              --------------------------------
                              Name:
                              Title:

                         OAKBROOK BANK

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -21-

<PAGE>

                         FLEET NATIONAL BANK
                              As Trust Administrator For Long
                              Lane Master Trust IV

                         By:
                              --------------------------------
                              Name:
                              Title:

                         ARAB AMERICAN BANK

                         By:
                              --------------------------------
                              Name:
                              Title:

                         By:
                              --------------------------------
                              Name:
                              Title:

                         BANK ONE, N.A.

                         By:
                              --------------------------------
                              Name:
                              Title:

                         ERSTE BANK, NEW YORK BRANCH

                         By:
                              --------------------------------
                              Name:
                              Title:

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -22-

<PAGE>

                         BANK OF AMERICA

                         By:
                              --------------------------------
                              Name:
                              Title:

                         KEY CORPORATE CAPITAL INC.

                         By:
                              --------------------------------
                              Name:
                              Title:

                         FIRST UNION NATIONAL BANK

                         By:
                              --------------------------------
                              Name:
                              Title:

                                     -23-<PAGE>

                                                 Exhibit 10.17

July 21, 2000

PERSONAL & CONFIDENTIAL

Mr. Scott Brian Clark
29 Herkimer Road
Scarsdale, New York 10583

Dear Scott:

     On behalf of Liquor.com, we are pleased to extend to you the following
offer of employment:

     1.   POSITION/TITLE - Chief Financial Officer and General Counsel and
          Member of the Executive Management Group. You will report directly
          to me as CEO and have senior financial and legal responsibility for
          the company and have such other duties commensurate with your
          position as assigned to you by the board of directors. Among other
          things, you will have senior responsibility for the overall
          financial and legal management for Liquor.com and be our primary
          interface with our outside lawyers and accountants. In addition, we
          expect you to meet with the bankers and investors to advance the
          company's private offering efforts and to assist in the
          consummation of our contemplated initial public offering which we
          expect to file shortly, including participation in "road show"
          events. You will also have a critical role in business development,
          focusing on the implementation of partnerships and business
          alliances within the eCommerce industry and elsewhere.

     2.   COMPENSATION

          -  $175,000 per annum, to be increased to $200,000 per annum upon
             IPO or significant financing event, including "additional
             compensation" of:

               -  $25,000 on the first anniversary of this agreement, to be
                  accelerated to your sixth month anniversary, upon completion
                  of our IPO or a significant financing event.

               -  $25,000 upon the public offering of our shares or significant
                  financing event.

               -  "additional compensation" after your first year will be
                  determined by the Board of Directors but in an amount of not
                  less than $50,000.

<PAGE>

Mr. Scott Brian Clark
7/27/2000

Page 2

           -     Benefits
                 -    Initially, the Company will pay the Cobra premium of your
                      medical and dental family insurance. Thereafter, you
                      shall be entitled to the benefits established by the
                      Company or, if such benefits are not similar to your
                      current indemnity plan coverage, the Company will pay
                      for the cost of a similar indemnity plan or like
                      coverage.
                 -    Participation in any additional bonus, stock option and
                      employee benefit plans, including pension and medical
                      to be determined by the executive management group.

     3.   OPTIONS - The Company will grant you options to purchase up to
          244,337 of common shares at $3.52/share under the Company's 2000
          Stock Option Plan which shall vest as follows:

                 -     61,084 to vest upon your starting date;
                 -     91,626 to vest evenly over the first 12 months;
                 -     30,542 to vest evenly over the next 12 months;
                 -     30,542 to vest upon the 2nd year anniversary of
                       your starting date;
                       30,542 to vest upon IPO or significant financing
                       event;
                 --------------------------------------------------------
                 -     Any vested options will not expire prior to the
                       second anniversary of your termination or
                       withdrawal. All options become 50% vested upon a
                       change in control of the company. The options will
                       have such other terms as established by the Board
                       of Directors pursuant to the Company's 2000 Option
                       Plan.

     4.    LOAN - Liquor.com shall provide you a two year, non-interest
           bearing loan (or tandem stock appreciation rights) to allow you to
           immediately exercise vested stock options on a cashless basis. The
           loan will have such terms as determined by the board of directors.

     5.    DURATION AND SEVERANCE Your employment will be at-will. Only the
           Chief Executive Officer and/or the Board of Directors may terminate
           you, and any such termination shall require delivery to you of a
           90-day advance written notice of such termination. If you are
           terminated without cause, the Company will pay you a six month
           severance amount, based upon you per annum rate, within thirty days
           of your termination

     STARTING DATE - On or about March 27, 2000.

<PAGE>

Mr. Scott Brian Clark
7/27/2000
Page 3

     7.   FURTHER MATTERS - Further, Liquor.com agrees to immediately purchase
          Director and Officer (D&O) liability insurance, sufficient to
          adequately cover all officers and directors for any potential
          liabilities. It will be your responsibility to work out a proposal for
          D&O insurance, for immediate approval of the executive management
          group.

          Your reasonable out-of-pocket expenses for all travel and subsistence,
          including all reasonable such expenses incurred in commuting to the
          main office in Chicago will be reimbursed. As CEO I will review and
          approve your expense report.

          At your or Liquor.com's request, any issues arising under this
          agreement shall be settled through appointment of an independent
          arbitrator/mediator to be selected by the parties. If the parties
          cannot agree on such arbitrator/mediator, Liquor.com's outside
          attorney will appoint one. Costs will be split equally between
          Liquor.com and you. The venue for any arbitrator (or action) arising
          under this agreement shall be New York.

          Upon any change in control you will have the option to terminate your
          employment and be entitled to a severance payment equal to one times
          your annual compensation payable within 30 days of the change in
          control.

     It is our pleasure to welcome you to Liquor.com. Please indicate your
acceptance of the terms of this agreement by signing the enclosed copy and
returning it to us.

                                        Very truly yours,

                                        /s/ Barry Grieff

                                        Barry Grieff
                                        Chief Executive Officer

I accept the terms of employment as outlined
in this letter

/s/ Scott Brian Clark
-----------------------------
Scott Brian Clark

Date:     7/27/00
     ------------------------

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00012-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00012-of-00352.parquet"}]]