Document:

<PAGE>

                                                                    EXHIBIT 10.7

                                                               EXECUTION VERSION

================================================================================

                             CONTRIBUTION AGREEMENT

                                  by and among

                           HOLLY ENERGY PARTNERS, L.P.

                                       and

                     HOLLY ENERGY PARTNERS - OPERATING, L.P.

                             as Transferee Parties,

                                       and

                               T & R ASSETS, INC.

                            FIN-TEX PIPE LINE COMPANY

                             ALON USA REFINING, INC.

                                 as Transferors,

                                       and

                            ALON PIPELINE ASSETS, LLC

                          ALON PIPELINE LOGISTICS, LLC

                                 ALON USA, INC.

                                       and

                                  ALON USA, LP

                          Dated as of January 25, 2005

================================================================================
<PAGE>

                                TABLE OF CONTENTS

<TABLE>
<CAPTION>
                                                                                  Page
<S>     <C>                                                                       <C>
                                    ARTICLE I
                        TRANSFER OF ASSETS, ASSUMPTION OF
                     LIABILITIES AND AGGREGATE CONSIDERATION

1.1     Contribution of Property and Assets.....................................    2
1.2     Excluded Assets.........................................................    5
1.3     Assumed Liabilities; Retained Liabilities...............................    6
1.4     Contribution to Newco 2.................................................    8
1.5     Contribution to Transferee..............................................    8
1.6     Contributions to HEP Opco and Conversion of Newco 1.....................    8
1.7     Consideration...........................................................    9
1.8     Contribution to Partnership.............................................    9

                                   ARTICLE II
                                     CLOSING

2.1     Closing.................................................................   10
2.2     Deliveries by the Alon Parties..........................................   10
2.3     Deliveries by Transferee................................................   12
2.4     Casualty and Condemnation...............................................   12
2.5     Prorations..............................................................   14
2.6     Closing Costs; Transfer Taxes and Fees..................................   15

                                   ARTICLE III
            REPRESENTATIONS AND WARRANTIES OF THE TRANSFEROR PARTIES

3.1     Organization............................................................   15
3.2     Authorization...........................................................   16
3.3     No Conflicts or Violations; No Consents or Approvals Required...........   16
3.4     Compliance With Laws and Permits........................................   17
3.5     Absence of Litigation...................................................   17
3.6     Operating Statements; Absence of Changes................................   17
3.7     Title to Contributed Assets.............................................   18
3.8     Newco 1 and Newco 2.....................................................   19
3.9     Contracts...............................................................   20
3.10    Prohibited Persons Transactions.........................................   20
3.11    Intellectual Property...................................................   21
3.12    Software Products.......................................................   21
3.13    Taxes...................................................................   21
3.14    Sufficiency and  Condition of Assets; Entire Operations.................   22
</TABLE>

                                   i

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

<PAGE>

<TABLE>
<S>     <C>                                                                        <C>
3.15    Collective Bargaining Agreements; Labor Relations.......................   22
3.16    Employees; Employee Benefit Matters.....................................   22
3.17    Performance Of Pipelines; Performance of Terminals......................   23
3.18    Insurance...............................................................   24
3.19    Status of Transferor Parties............................................   24
3.20    Environmental Matters...................................................   24
3.21    Brokers and Finders.....................................................   25
3.22    Representations Relating to the Class B Units...........................   25
3.23    WAIVERS AND DISCLAIMERS.................................................   25

                                   ARTICLE IV
                  REPRESENTATIONS AND WARRANTIES OF TRANSFEREE

4.1     Organization............................................................   27
4.2     Authorization...........................................................   27
4.3     No Violations; No Consents or Approvals Required........................   27
4.4     Absence of Litigation...................................................   28
4.5     Validity of Class B Units...............................................   28
4.6     Transferee Public Documents.............................................   28
4.7     Brokers and Finders.....................................................   29

                                    ARTICLE V
                                    COVENANTS

5.1     Conduct of the Operations...............................................   29
5.2     Access..................................................................   30
5.3     Supplemental Operating Statements.......................................   30
5.4     Notification............................................................   31
5.5     Injunctions.............................................................   31
5.6     Payments Received.......................................................   31
5.7     Rights..................................................................   31
5.8     Insurance...............................................................   33
5.9     Cooperation.............................................................   33
5.10    Additional Agreements...................................................   33
5.11    HSR Matters.............................................................   34
5.12    Access to Financial Information.........................................   34
5.13    Bank Consents...........................................................   34

                                   ARTICLE VI
                               EMPLOYMENT MATTERS

6.1     Offers of Employment....................................................   35
6.2     Transferors' Employee Liabilities.......................................   36
</TABLE>

                                       ii

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

<PAGE>

<TABLE>
<S>     <C>                                                                        <C>
                                   ARTICLE VII
                              CONDITIONS TO CLOSING

7.1     Conditions to Each Party's Obligation to Close..........................   36
7.2     Conditions to Transferee's Obligation to Close..........................   37
7.3     Conditions to the Alon Parties' and Newco 1's Obligation to Close.......   38

                                  ARTICLE VIII
                                   TERMINATION

8.1     Termination.............................................................   39
8.2     Effect of Termination...................................................   39

                                   ARTICLE IX
                                 INDEMNIFICATION

9.1     Obligations to Indemnify................................................   40
9.2     Third Party Claims......................................................   41
9.3     Direct Claims...........................................................   43
9.4     Dispute Resolution - Indemnification....................................   44
9.5     Limits of Liability.....................................................   46
9.6     Survival of Covenants, Representations and Warranties...................   47
9.7     Exclusive Remedy........................................................   47
9.8     Payments................................................................   48
9.9     Administration of Indemnity Claims......................................   48

                                    ARTICLE X
                          INTERPRETATION; DEFINED TERMS

10.1    Interpretation..........................................................   48
10.2    References, Gender, Number..............................................   49
10.3    Defined Terms...........................................................   49

                                   ARTICLE XI
                              ADDITIONAL AGREEMENTS

11.1    Access to Information...................................................   62
11.2    Public Announcements....................................................   62
11.3    Confidentiality.........................................................   62
11.4    Notice of Certain Events................................................   63
11.5    Further Assurances......................................................   63
11.6    Post-Closing Tax Covenants..............................................   63
</TABLE>

                                      iii

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

<PAGE>

<TABLE>
<S>     <C>                                                                        <C>
                                   ARTICLE XII
                                  MISCELLANEOUS

12.1    Expenses................................................................   64
12.2    Notices.................................................................   64
12.3    Entire Agreement; Amendment; Waiver.....................................   65
12.4    Severability............................................................   66
12.5    Parties in Interest.....................................................   66
12.6    Governing Law...........................................................   66
12.7    Assignment to Lenders; Assignment of Agreement to Subsidiary............   66
12.8    No Waiver Relating to Claims for Fraud..................................   67
12.9    Dispute Resolution - General............................................   68
12.10   Captions    69
12.11   Counterparts............................................................   69
12.12   Director and Officer Liability..........................................   69
12.13   Specific Performance....................................................   70
</TABLE>

EXHIBITS:

Exhibit A         -     Special Warranty Deed
Exhibit B         -     Pipeline Conveyance
Exhibit C         -     Bills of Sale
Exhibit D         -     Pipelines and Terminals Agreement
Exhibit E         -     Environmental Agreement
Exhibit F         -     Right of First Offer Agreement
Exhibit G         -     Assignment and Assumption Agreement
Exhibit H         -     Services Agreement

Exhibit I         -     Subordination, Non-Disturbance and Attornment Agreement
Exhibit J         -     Class B Amendment
Exhibit K         -     Mortgage and Deed of Trust
Exhibit L         -     Consent Agreement

ANNEXES:

Annex A-1         -     Pipelines
Annex A-2         -     Pipeline Maps
Annex A-3         -     Pipeline Fee Land
Annex A-4         -     Pipeline Leases
Annex A-5         -     Pipeline Easements

Annex B-1         -     Terminals
Annex B-2         -     Terminal Fee Land
Annex B-3         -     Terminal Leases

                                       iv

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

<PAGE>

SCHEDULES:

Schedule 7.2(a)   -     Transferee Governmental Consents
Schedule 7.2(e)   -     Transferee Third Party Consents
Schedule 7.3(a)   -     Alon Governmental Consents
Schedule 7.3(e)   -     Alon Third Party Consents

                                        v

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

<PAGE>

                             CONTRIBUTION AGREEMENT

      THIS CONTRIBUTION AGREEMENT (this "Agreement") dated as of January 25,
2005, is made and entered into by and among Holly Energy Partners, L.P., a
Delaware limited partnership ("Transferee"), Holly Energy Partners - Operating,
L.P., a Delaware limited partnership and a wholly-owned subsidiary of Transferee
("HEP Opco" and, together with Transferee, the "Transferee Parties"), T&R
Assets, Inc., a Texas corporation ("T&R"), Fin-Tex Pipe Line Company, a Texas
corporation ("Fin-Tex"), Alon USA Refining, Inc., a Delaware corporation ("Alon
Refining", and together with T&R and Fin-Tex, collectively, the "Transferors",
and each individually, a "Transferor"), Alon Pipeline Assets, LLC, a Texas
limited liability company ("Newco 1"), Alon Pipeline Logistics, LLC, a Delaware
limited liability company ("Newco 2", and together with the Transferors, the
"Transferor Parties"), Alon USA, Inc., a Delaware corporation and the parent of
the Transferors ("Alon USA"), and Alon USA, LP, a Texas limited partnership
("Alon LP", and together with the Transferor Parties and Alon USA, the "Alon
Parties").

      WHEREAS, for the purpose of effecting the transactions contemplated by
this Agreement, the Transferors have formed Newco 1 and collectively directly
own all of the issued and outstanding equity interest therein (the "Newco 1
Equity Interests").

      WHEREAS, for the purpose of effecting the transactions contemplated by
this Agreement, the Transferors have formed Newco 2 and collectively directly
own all of the issued and outstanding equity interest therein (the "Newco 2
Equity Interests").

      WHEREAS, the Transferors wish to contribute to Newco 1, and Newco 1 wishes
to acquire from the Transferors (a) certain refined petroleum products
pipelines, (b) certain refined petroleum products terminals, and (c) certain
other specified rights and assets used primarily in connection with the
ownership and operation of the Pipelines (as defined herein) and the Terminals
(as defined herein), all on the terms and conditions of this Agreement.

      WHEREAS, in connection with such contribution and acquisition Newco 1
shall assume certain liabilities and obligations of the Transferors as more
fully described herein, all on the terms and conditions of this Agreement.

      WHEREAS, the Transferors wish to contribute to Newco 2 all of the Newco 1
Equity Interests; and

      WHEREAS, Newco 2 wishes to contribute to Transferee, and Transferee wishes
to acquire from Newco 2, all of the Newco 1 Equity Interests.

      NOW, THEREFORE, in consideration of the premises and the mutual covenants
and agreements contained herein, and other good and valuable consideration, the
receipt and sufficiency of which is hereby acknowledged, the parties hereto
hereby agree as follows:

                                       1
                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

<PAGE>

                                    ARTICLE I
                        TRANSFER OF ASSETS, ASSUMPTION OF
                     LIABILITIES AND AGGREGATE CONSIDERATION

      1.1 CONTRIBUTION OF PROPERTY AND ASSETS. On the terms and subject to the
conditions set forth in this Agreement, at the Closing each Transferor shall
contribute, transfer, assign and deliver to Newco 1, as a capital contribution,
all of such Transferor's right, title and interest in and to the properties and
assets (other than the Excluded Assets) used primarily in connection with the
ownership and operation of the Pipelines and the Terminals (collectively, the
"Operations") (all of such assets, properties and rights are collectively
referred to as the "Contributed Assets"), including the following:

            (a)   All of the assets, properties and rights, whether real,
personal or mixed, which are owned or held for use by such Transferor primarily
in connection with the ownership or operation of the refined petroleum product
pipelines described in Annex A-1 (the "Pipelines") and the maps depicted in
Annex A-2, including the following (collectively, the "Pipeline Assets"):

                  (i)   The parcels of fee simple real property described in
Annex A-3 (collectively, the "Pipeline Fee Land");

                  (ii)  The lessee's interest in the leases described in Annex
A-4 (collectively, the "Pipeline Leases"), together with all the leasehold
estate described in the Pipeline Leases;

                  (iii) All easements, rights-of-way, property use agreements,
line rights and real property licenses and permits (including rights-of-way
permits from railroads and road crossing permits or other rights-of-way permits
from Governmental Entities) relating to the real property described in clauses
(i) and (ii) above, including those described in Annex A-5 (the "Pipeline
Easements"); and

                  (iv)  All buildings, structures, fixtures, facilities,
improvements and appurtenances to the real property described in clauses (i),
(ii) and (iii) above (collectively, the "Pipeline Improvements"). The Pipeline
Improvements shall be treated as real property for all purposes of this
Agreement.

            (b)   All of the properties and assets, whether real, personal or
mixed, which are owned or held for use by such Transferor primarily in
connection with the ownership or operation of those certain refined petroleum
product terminals described in Annex B-1 (the "Terminals"), including the
following (collectively, the "Terminal Assets"):

                  (i)   The parcels of fee simple real property described in
Annex B-2 (collectively, the "Terminal Fee Land");

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       2
<PAGE>

                  (ii)  The lessee's interest in the leases described in Annex
B-3 (collectively, the "Terminal Leases") together with all the leasehold estate
described in the Terminal Leases;

                  (iii) All easements, rights-of-way, property use agreements,
line rights and real property licenses and permits (including rights-of-way
permits from railroads and road crossing permits or other rights-of-way permits
from Governmental Entities) relating to the real property described in clauses
(i) and (ii) above, including those described in Annex B-2 or Annex B-3 (the
"Terminal Easements"); and

                  (iv)  All buildings, structures, fixtures, facilities,
improvements and appurtenances to the real property described in clauses (i),
(ii) and (iii) above (collectively, the "Terminal Improvements"). The Terminal
Improvements shall be treated as real property for all purposes of this
Agreement.

            (c)   To the extent the same do not constitute Pipeline Improvements
or Terminal Improvements, all fittings, cathodic protection ground beds,
rectifiers, other cathodic or electric protection devices, machinery, engines,
pipes, pipelines, valves, valve boxes, connections, gates, scraper trap
extenders, telecommunication facilities and equipment (including microwave and
other transmission towers), lines, wires, computer hardware, fixed or mobile
machinery and equipment, vehicle refueling tanks, pumps, heating and
non-pipeline pumping stations, fittings, tools, furniture and metering equipment
(collectively, the "Equipment") that (i) are not by their nature consumed in the
ordinary course of business such that they constitute Supplies (as defined in
Section 1.1(e) below), (ii) are used, owned or leased by such Transferor as of
the Closing Date, (iii) are used in connection with the Operations, and (iv) in
the ordinary course of the Operations either (A) are permanently located on the
Real Property for use primarily in connection with the ownership and operation
of the Pipeline and Terminal Assets or the conduct of the Operations, or (B)
have historically been part of such Transferor's centralized or regional
maintenance operations for the Pipeline and Terminal Assets and have been
allocated by such Transferor to such assets for purposes of their divestiture.
All such items of Equipment (other than furnishings or office equipment) having
a net book value of $10,000 or more as of the close of the most recent fiscal
quarter ended at least one month prior to the date of this Agreement are
identified on Transferor Disclosure Schedule 1.1(c).

            (d)   All Rolling Stock listed on Transferor Disclosure Schedule
1.1(d).

            (e)   All inventories of spare parts intended to be consumed in the
ordinary course of the ownership and operation of the Pipeline and Terminal
Assets or the conduct of the Operations, maintenance, shop and office supplies,
and other similar items of tangible personal property on hand as of the Closing
and intended to be consumed in the ordinary course of the ownership and
operation of the Pipeline and Terminal Assets or the conduct of the Operations,
as well as chemicals or drag reducing agents, if any, on hand (the "Supplies").

            (f)   To the extent assignable, all permits, licenses, certificates,
authorizations, registrations, Orders, waivers, variances, exemptions,
franchises and approvals granted by any

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       3
<PAGE>

Governmental Entity to such Transferor or its respective predecessors in
interest in connection with the Operations, including those set forth in Seller
Disclosure Schedule 1.1(f).

            (g)   Such records and documents relating to the ownership,
condition or operation of the Pipeline and Terminal Assets as the parties may
determine pursuant to Section 2.6(c) to be a part of the Pipeline and Terminal
Assets (the "Records"); provided, however, that such Transferor shall be
entitled to retain a copy of any Records and that the Records shall not include
any records or documents that are covered by the attorney-client privilege or
work product doctrine.

            (h)   Subject to Section 5.7, all rights under (i) Contracts and
other legally binding rights and obligations of such Transferor relating
primarily to the conduct of the Operations and set forth in Transferor
Disclosure Schedule 1.1(h) and (ii) Contracts relating primarily to the conduct
of the Operations and entered into by such Transferor after the date of this
Agreement in the ordinary course of business and in accordance with the terms
and conditions of this Agreement, but excluding those Contracts constituting
Leases or Easements (collectively, the "Assumed Contracts").

            (i)   The trademarks, trademark applications, trademark
registrations, trade names and service marks described in Transferor Disclosure
Schedule 1.1(i), together with the goodwill associated therewith and all rights
deriving therefrom (collectively, the "Trademarks").

            (j)   The registered copyrights or unregistered copyrights and all
rights deriving therefrom described in Transferor Disclosure Schedule 1.1(j)
(collectively, the "Copyrights").

            (k)   The patents, patent applications and other patent rights
described in Transferor Disclosure Schedule 1.1(k) (collectively, the
"Patents").

            (l)   The software (other than standard off-the-shelf software),
unpatented formulas, know-how, inventions, discoveries, trade secrets,
improvements, web sites, domain names and other technology described in
Transferor Disclosure Schedule 1.1(l) and all rights deriving therefrom
(together with the Trademarks, Copyrights and Patents, the "Intellectual
Property").

            (m)   All goodwill related to the Operations, if any.

            (n)   All rights under manufacturers' and vendors' warranties
relating to items included in the Operations and all rights against third
parties relating to items included in the Operations.

            (o)   Any and all other rights, titles and interests of such
Transferor in any and all other properties and assets (whether real, personal or
mixed, tangible or intangible), used or held for use primarily in connection
with the Operations.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       4
<PAGE>

      1.2 EXCLUDED ASSETS. Notwithstanding anything to the contrary contained in
this Agreement, each Transferor shall retain all of its right, title and
interest in and to, and there shall be excluded from the contribution, transfer,
assignment and delivery of the Contributed Assets to Newco 1 hereunder, the
following assets and properties (collectively, the "Excluded Assets"):

            (a)   All rights under this Agreement and the Ancillary Documents.

            (b)   All cash, accounts receivable, pre-paid expenses, bank
accounts, cash equivalents and other similar types of investments, certificates
of deposit, U.S. Treasury bills and other marketable securities.

            (c)   (i) The names or marks "Alon," "Alon USA," "Fina," and any
variations or derivations thereof, and (ii) any logo, service mark, copyright,
trade name or trademark of or associated with such Transferor or any of its
affiliates, not used or held for use primarily in connection with the
Operations.

            (d)   Tangible personal property located at the Real Property that
is (i) owned (or leased from third parties) by contractors or service providers
doing work or providing services at the Real Property or (ii) owned (or leased
from third parties) by employees of such Transferor.

            (e)   Improvements, fixtures, equipment and tangible personal
property located on any easement, right-of-way, lease, license or similar land
use right which encumbers the Real Property insofar as such improvements,
fixtures, equipment and tangible personal property are owned (or leased from
third parties) by the holder of such easement, right-of-way, lease, license or
similar land use right which encumbers the Real Property.

            (f)   Improvements, fixtures and items of equipment and tangible
personal property located on the Real Property insofar as such improvements,
fixtures, equipment and tangible personal property are owned (or leased from
third parties) by such Transferor or any affiliate thereof and are not used or
held for use primarily in connection with the Operations, including such of the
foregoing as are described in Transferor Disclosure Schedule 1.2(f).

            (g)   All crude oil, refined petroleum products or other petroleum
or petrochemical products.

            (h)   Any refund, rebate, credit or similar claim for Taxes paid by
such Transferor, whether known or unknown on the Closing Date, relating to the
Operations for any period or portion thereof ending prior to the Closing Date.

            (i)   Any refund, rebate, credit or similar claim relating to an
Excluded Asset or Retained Liability, whether known or unknown on the Closing
Date.

            (j)   All claims, causes of action, choses in action, rights of
recovery and rights of set off of any kind against any person arising out of or
relating to (i) the Operations for any period or portion thereof ending prior to
the Closing Date, (ii) any Excluded Asset, or (iii) any

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       5
<PAGE>

Retained Liability; provided that to the extent that any of the foregoing arise
out of or relate to an Assumed Liability and are not otherwise expressly
identified as an Excluded Asset in this Section 1.2 (including in any Transferor
Disclosure Schedule relating to this Section 1.2), such shall not be an Excluded
Asset but shall rather be part of the Contributed Assets.

            (k)   Subject to Section 2.4 and Section 5.8, all rights under (i)
the insurance policies of such Transferor (including all claims and other rights
thereunder or relating thereto with respect to the Contributed Assets and the
Excluded Assets) and (ii) any premium returns or refunds or other amounts
associated with any tail policy, COBRA policy or other policy (whether in
existence on the date of this Agreement or hereafter purchased by such
Transferor) relating to the provision of COBRA benefits or other benefits to the
employees of such Transferor (or any subgroup thereof).

            (l)   Any other properties and assets (real, personal, mixed,
tangible or intangible) which are described in Transferor Disclosure Schedule
1.2(l).

      1.3 ASSUMED LIABILITIES; RETAINED LIABILITIES.

            (a)   Assumed Liabilities. Subject to Section 1.3(b) and Section
2.5, at the Closing, each Transferor shall assign to Newco 1 and Newco 1 shall
assume and thereafter pay, perform and discharge when due the following
liabilities, obligations and commitments of such Transferor (collectively, the
"Assumed Liabilities"):

                  (i)   all liabilities, obligations and commitments of such
Transferor accruing with respect to periods commencing on and after the
Effective Time under the Assumed Contracts, Leases and Easements and which
relate solely to the performance of the Assumed Contracts, Leases and Easements
after the Effective Time; and

                  (ii)  except for liabilities, obligations and commitments
described in Section 1.3(a)(i), all other liabilities, obligations and
commitments occurring, arising out of or related to the ownership, use,
construction, maintenance or operation of the Contributed Assets on and after
the Effective Time, including all liabilities, obligations and commitments
incurred or imposed as a result of any event or occurrence (including any
injury, death or damage to person or property of a third party, or any claim for
repair, improvement, modification, replacement or maintenance of any Contributed
Asset) on or after the Effective Time to the extent arising out of or
attributable to the ownership or use of any portion of the Contributed Assets on
or after the Effective Time; provided that in no event shall the foregoing
include any liability, obligation, or commitment to the extent that in respect
thereof any Transferee Indemnified Party has the right to seek indemnification
from any Alon Party pursuant to Section 9.1(a)(ii), 9.1(a)(iii) or 9.1(a)(iv) of
this Agreement or the terms of the Environmental Agreement.

            (b)   Retained Liabilities. Subject to Section 2.5, Newco 1 does not
assume or agree to pay, honor, satisfy, discharge or perform, and shall not be
deemed by virtue of the execution and delivery of this Agreement or any
Ancillary Document or as a result of the consummation of the transactions
contemplated hereby or thereby, to have assumed, or to have

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       6
<PAGE>

agreed to pay, honor, satisfy, discharge or perform, any liability of any
Transferor (other than the Assumed Liabilities), whether primary or secondary,
direct or indirect, known or unknown, fixed, accrued or contingent, existing
prior to the Effective Time (the "Retained Liabilities"), including the
following:

                  (i)   any liability of any Transferor not specifically assumed
pursuant to Section 1.3(a);

                  (ii)  any liability arising prior to the Effective Time out of
any breach by any Transferor of any provisions of any Assumed Contract,
including liabilities arising out of any Transferor's failure to perform any
Assumed Contract in accordance with its terms prior to the Effective Time;

                  (iii) any liability arising out of any breach by any
Transferor of any provisions of any Contract (other than an Assumed Contract and
other than as described in Section 1.3(b)(ii)), including liabilities arising
out of any Transferor's failure to perform any Contract (other than an Assumed
Contract and other than as described in Section 1.3(b)(ii)) in accordance with
its terms;

                  (iv)  any liability of any Transferor under any Employee
Benefit Plan or Benefit Arrangement arising from the operation of such
Transferor's businesses; (v) any liability for any Taxes payable with respect to
the Contributed Assets or the Operations for any period or portion thereof
ending on or prior to the Closing Date;

                  (vi)  any liability under or in connection with any Excluded
Assets;

                  (vii) any liability with respect to (A) any employees or any
collective bargaining representatives of any employees, agents or independent
contractors, in each case incurred while such person was employed by or
affiliated with any Transferor or any of its respective affiliates, whether or
not such employees, collective bargaining representatives, agents or independent
contractors are employed by or are affiliated with Newco 1 after the Effective
Time, (B) any Laws relating to plant closings, mass layoffs or employment
termination occurring at or prior to the Effective Time, (C) any liabilities
arising under or with respect to any collective bargaining agreement or Employee
Plans to which any Transferor or any of its respective affiliates is or was a
party prior to the Effective Time, (D) any liabilities arising at or prior to
the Effective Time for wages, salaries, severance (and notice thereof),
termination pay, vacation, individual or group life or health insurance,
property or personal injury claims or termination claims, and (E) any liability
arising on or prior to the Effective Time with respect to any employees of any
Transferor, applicants for employment with such Transferor or collective
bargaining agents arising from any unfair labor practice charges, charges of
employment discrimination, other federal and state administrative charges of any
kind, workers' compensation claims, arbitration awards, claims under the WARN
Act, claims for severance pay or other claims or causes of action of any kind;

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       7
<PAGE>

                  (viii) any liability of any Transferor arising out of or
incurred in connection with the negotiation, preparation and execution of this
Agreement and the Ancillary Documents and the transactions contemplated hereby
and thereby and fees and expenses of any and all counsel, accountants and other
experts or advisers;

                  (ix)  any intercompany liability between any Transferor and
any affiliate thereof;

                  (x)   any liabilities retained by any Transferor under Section
6.2;

                  (xi)  any accounts payable or other payables due and owing by
any Transferor;

                  (xii) any liability resulting from any Action, whether or not
pending or threatened prior to the Effective Time, arising out of or relating to
any other Retained Liability specified in this Section 1.3(b);

                  (xiii) any liability arising under any Contract that is not an
Assumed Contract; and

                  (xiv) any fines or penalties imposed on any Transferor as a
result of the Notice of Probable Violation disclosed on Transferor Disclosure
Schedule 3.4, Item 1.a.

            (c)   Environmental Liabilities. Notwithstanding anything to the
contrary in this Section 1.3, the parties expressly acknowledge and agree that
this Section 1.3 shall not apply to Environmental Costs and Liabilities, which
shall be exclusively governed by the provisions of the Environmental Agreement.

      1.4 CONTRIBUTION TO NEWCO 2. Effective as of immediately following the
contribution of the Contributed Assets to and the assumption of the Assumed
Liabilities by Newco 1 as required by Sections 1.1 and 1.3 hereof, each
Transferor shall contribute, transfer, assign and convey to Newco 2, as a
capital contribution, all of the Newco 1 Equity Interests held beneficially and
of record by such Transferor, free and clear of any Liens and Encumbrances.

      1.5 CONTRIBUTION TO TRANSFEREE. Effective as of immediately following the
contribution of the Newco 1 Equity Interests to Newco 2 as required by Section
1.4 hereof and contemporaneously with the receipt by Newco 2 of the
consideration set forth in Section 1.7 hereof, Newco 2 shall, by virtue of this
Agreement and without any further action by any party, contribute, transfer,
assign and convey to Transferee, as a capital contribution, all of the Newco 1
Equity Interests, free and clear of any Liens and Encumbrances.

      1.6 CONTRIBUTIONS TO HEP OPCO AND CONVERSION OF NEWCO 1.

            (a)   Immediately following the contribution of the Newco 1 Equity
Interests to Transferee as required by Section 1.5 hereof, Transferee shall
contribute, transfer, assign and convey to HEP Opco, as a capital contribution,
the Newco 1 Equity Interests.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       8
<PAGE>

            (b)   Immediately following the contribution of the Newco 1 Equity
Interests to HEP Opco as required by Section 1.6(a) hereof, HEP Opco shall
contribute, transfer, assign and convey to HEP Pipeline, as a capital
contribution, a portion of the Newco 1 Equity Interests.

            (c)   Immediately following the contribution of the Newco 1 Equity
Interests to HEP Pipeline as required by Section 1.6(b) hereof, HEP shall cause
HEP Opco and HEP Pipeline to convert Newco 1 into a Texas limited partnership
with HEP Opco being the limited partner thereof and HEP Pipeline being the
general partner thereof.

      1.7 CONSIDERATION.

            (a)   The aggregate consideration (the "Aggregate Consideration")
for the contribution of Newco 1 shall consist of (i) the Cash Consideration and
(ii) the Unit Consideration.

            (b)   The Closing Cash Consideration shall be paid by Transferee at
the Closing by wire transfer of immediately available funds to the account
specified by Newco 2 in writing at least three business days prior to the
Closing Date.

            (c)   The Unit Consideration shall be paid to Newco 2 at the Closing
by delivery of the Certificates.

      1.8 CONTRIBUTION TO PARTNERSHIP. It is the express intent of Transferee
and the Transferor Parties that the transactions contemplated by Section 1.5
hereof constitute a tax free contribution to a partnership under Section 721 of
the Code. The Transferor Parties and Transferee shall negotiate in good faith a
determination of the fair market value of each of the respective Contributed
Assets as soon as reasonably practicable following the date of this Agreement
and, in any event, no later than 60 days after the Closing. If the determination
is not agreed upon within 60 days after the Closing, then Transferee and the
Transferor Parties agree that the determination shall be made based upon an
asset valuation supplied by an independent accounting firm or appraiser, in
either case with substantial experience in valuing petroleum product pipelines
and terminals and mutually acceptable to Transferee and the Transferor Parties.
The cost of such appraisal shall be shared equally by Transferee and the
Transferor Parties. The appraisal, if required, shall be procured and provided
to Transferee and the Transferor Parties within 120 days after the Closing.
Transferee and the Transferor Parties agree that the determination of the fair
market value of the Contributed Assets pursuant to this Section 1.8 shall be
used for purposes of applying Section 704(c) of the Code to the Contributed
Assets, and that the variation between the fair market value of the Contributed
Assets and the adjusted tax basis of the Contributed Assets will be taken into
account under the "remedial method" as described in Treasury Regulation Section
1.704-3(d). Transferee and the Transferor Parties further agree that they shall
report the federal, state, municipal, local and other Tax consequences of the
contribution and acquisition hereunder in a manner consistent with this Section
1.8 and they shall not take any position inconsistent therewith in connection
with any Tax return, refund claim, litigation or otherwise. The parties hereby
acknowledge that none of the parties has made, or is making in this Agreement,
any representation to any other party concerning any of the Tax effects or
consequences of the transactions provided for in this Agreement and that each
party has obtained

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       9
<PAGE>

independent Tax advice with respect thereto and upon which it has solely relied;
provided that this sentence shall not limit the obligations of any party hereto
with respect to any covenants of such party expressly set forth herein or the
remedies of any party hereto with respect to a failure to comply with any such
covenants.

                                   ARTICLE II
                                     CLOSING

      2.1 CLOSING. The closing of the transactions contemplated hereby (the
"Closing") shall be held at the offices of Vinson & Elkins L.L.P., 3700 Trammell
Crow Center, 2001 Ross Avenue, Dallas, Texas 75201 at 10:00 a.m. on the fifth
business day following the satisfaction or waiver of the conditions set forth in
Article VII (other than those conditions relating to execution of the Ancillary
Documents, which will be satisfied at the Closing), or such other place, time or
date as may be agreed upon by the parties; provided, however, that Transferee,
by means of prior notice to Transferors, shall have the right from time to time
to postpone the date for the Closing to such later date as may be specified in
such notice; and provided, further, that Transferee may not postpone such date
beyond the later of (i) February 28, 2005 or (ii) the first business day after
the date that the consents contemplated by Section 5.13 are actually obtained by
the Alon Parties. The date on which the Closing takes place is referred to
herein as the "Closing Date." The Closing shall be deemed to be effective as of
12:01 a.m. on the Closing Date (the "Effective Time").

      2.2 DELIVERIES BY THE ALON PARTIES. At the Closing, the applicable Alon
Parties shall deliver, or cause to be delivered, to Transferee the following:

            (a)   A special warranty deed from each Transferor substantially in
the form of Exhibit A attached hereto (the "Special Warranty Deeds"), conveying
the Fee Land and all appurtenances thereto, including any Pipeline Improvements
or Terminal Improvements located on such Fee Land, as applicable, held by such
Transferor to Newco 1, subject only to Permitted Liens.

            (b)   A conveyance, assignment, bill of sale, and shared easement
agreement from each Transferor substantially in the form of Exhibit B attached
hereto (the "Pipeline Conveyance"), conveying all Real Property (other than the
Fee Land and all appurtenances thereto, including any Pipeline Improvements or
Terminal Improvements located on such Fee Land) held by such Transferor to Newco
1, subject only to Permitted Liens and the reservation of an easement for
Transferor for the operation and maintenance of a parallel pipeline with respect
to Easements designated as "Shared" on Annex A-5, as more specifically provided
therein.

            (c)   A bill of sale and assignment from each Transferor
substantially in the form of Exhibit C attached hereto (the "Bills of Sale"),
conveying to Newco 1 all of the Contributed Assets held by such Transferor
(other than the Real Property), subject only to Permitted Liens.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       10
<PAGE>

            (d)   A counterpart of the pipelines and terminals agreement
substantially in the form attached as Exhibit D (the "Pipelines and Terminals
Agreement"), duly executed by Alon LP.

            (e)   A counterpart of the environmental agreement substantially in
the form attached as Exhibit E (the "Environmental Agreement"), duly executed by
each Alon Party listed as a signatory thereto.

            (f)   A counterpart of the right of first offer agreement
substantially in the form attached as Exhibit F (the "Right of First Offer
Agreement"), duly executed by Alon USA.

            (g)   A counterpart of the assignment and assumption agreement,
substantially in the form attached as Exhibit G (the "Assignment and Assumption
Agreement"), duly executed by each Transferor and Newco 1.

            (h)   All Consents required to be obtained by the Alon Parties
pursuant to Section 7.2(e).

            (i)   A counterpart of the services agreement, substantially in the
form attached as Exhibit H (the "Services Agreement"), duly executed by Alon LP.

            (j)   A certificate of non-foreign status substantially in the form
specified in Treasury Regulation 1.1445-2(b)(2)(iii) for each Transferor.

            (k)   A commitment for an TLTA Owner's Policy of Title Insurance for
each tract of Terminal Fee Land as set forth in Annex B-1, issued in the name of
Newco 1 at the Transferor Parties' cost and expense by the Title Company in the
amounts set forth on Transferor Disclosure Schedule 2.2(k) for each tract of
Terminal Fee Land, subject only to the standard printed exceptions set out on a
standard form Owner's Policy of Title Insurance issued by the Title Company and
the Permitted Liens applicable to each such tract of Terminal Fee Land, provided
that Transferee may at its sole cost and expense obtain any endorsements or
extended coverage which may be available, including but not limited to any
endorsement to delete survey exceptions or to provide coverage to any lender of
Transferee.

            (l)   The Alon Party Closing Certificate, duly executed by an
executive officer of each Transferor Party.

            (m)   A counterpart of the subordination, non-disturbance and
attornment agreement, substantially in the form attached as Exhibit I, with
Transferee's senior secured lenders at Closing, duly executed by Alon LP.

            (n)   An executed perpetual easement agreement for the benefit of
Transferee and its successors and assigns, granting an easement of at least 50
feet in width across Transferor's Hawley Terminal for operation and maintenance
of the Trust Pipelines crossing such terminal property, which easement agreement
shall include rights of ingress and egress as reasonably necessary for the
operation and maintenance of said Pipelines.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       11
<PAGE>

            (o)   Such other documents in a form and substance reasonably
acceptable to Transferee that (i) are duly executed by each Transferor and
reflect the contribution, transfer, assignment and conveyance required by
Section 1.4 hereof and (ii) are duly executed by Newco 2 and reflect the
contribution, transfer, assumption and conveyance required by Section 1.5
hereof.

      2.3 DELIVERIES BY TRANSFEREE. At the Closing, Transferee shall deliver, or
cause to be delivered, to Alon USA the following:

            (a)   After the receipt of the contribution required by Section 1.5
hereof, a counterpart of the Pipelines and Terminals Agreement, duly executed by
Transferee.

            (b)   After the receipt of the contribution required by Section 1.5
hereof, a counterpart of the Environmental Agreement, duly executed by
Transferee.

            (c)   After the receipt of the contribution required by Section 1.5
hereof, a counterpart of the Right of First Offer Agreement, duly executed by
Transferee.

            (d)   After the receipt of the contribution required by Section 1.5
hereof, a counterpart of the Services Agreement, duly executed by Transferee.

            (e)   An amendment to the Transferee Party Organizational Documents,
in substantially the form attached as Exhibit J (the "Class B Amendment").

            (f)   Certificates representing the Unit Consideration and issued in
the name of Newco 2 or its designee (the "Certificates").

            (g)   The Transferee Closing Certificate, duly executed by an
executive officer of Transferee.

            (h)   After the receipt of the contribution required by Section 1.5
hereof, a counterpart of the mortgage and deed of trust, substantially in the
form attached as Exhibit K, duly executed by Newco 1.

            (i)   A counterpart of the documents effecting the contribution
required by Section 1.6(b) hereof and the conversion of Newco 1 into a limited
partnership as required by Section 1.6(b) hereof.

      2.4 CASUALTY AND CONDEMNATION.

            (a)   Material Casualty. Transferors shall notify Transferee in
writing on the next business day, and in no event later than 24 hours, if, after
the date of this Agreement and prior to the Closing, all or any part of a
Pipeline and Terminal Asset is damaged or destroyed by fire or other casualty
and such damage or destruction, individually or in the aggregate, constitutes a
Material Damage or Condemnation. Transferee shall have the option, exercisable
within ten days after receipt of such written notice from Transferors (but
before Closing), to elect

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       12
<PAGE>

by written notice to Transferors to terminate this Agreement; provided, however,
that such election by Transferee to terminate this Agreement shall not be
effective if:

                  (i)   such damaged or destroyed Pipeline and Terminal Asset
can be repaired or replaced to the state in which such asset existed immediately
preceding such damage or destruction within 120 days from the date of
Transferors' receipt of Transferee's notice of termination; and

                  (ii)  within ten days after Transferors' receipt of
Transferee's notice of termination, Transferors give Transferee written notice
of Transferors' election to repair or replace such damaged or destroyed Pipeline
and Terminal Asset at Transferors' sole expense (including any insurance
proceeds attributable thereto under insurance policies of Transferors or any of
their respective affiliates).

If Transferors elect to repair or replace such damaged Pipeline and Terminal
Asset pursuant to the foregoing, Transferors shall be obligated to proceed in
good faith to diligently repair or replace such damaged or destroyed Pipeline
and Terminal Asset to the state in which such asset existed immediately
preceding such damage or destruction and the Closing Date shall be extended
until the third business day following the date on which Transferors and
Transferee mutually agree that such damaged Pipeline and Terminal Asset has been
so repaired or replaced, such mutual agreement not to be unreasonably withheld,
conditioned or delayed; provided, however, this Agreement shall terminate, at
Transferee's option, if such damaged asset is not so repaired or replaced by the
earlier of (x) 120 days from the date of Transferor's receipt of Transferee's
aforesaid notice of termination or (y) the Termination Date.

            (b)   Material Condemnation. Transferors shall notify Transferee in
writing on the next business day, and in no event later than 24 hours, if, after
the date of this Agreement and prior to the Closing, all or any part of a
Pipeline and Terminal Asset is taken in condemnation or if proceedings for such
purpose shall be pending, and such taking, individually or in the aggregate,
constitutes or would constitute a Material Damage or Condemnation. Transferee
shall have the option, exercisable within ten days following receipt of such
written notice from Transferors (but before Closing), to elect by written notice
to Transferors to terminate this Agreement.

            (c)   Other Casualty and Condemnation. If after the date of this
Agreement and prior to the Closing:

                  (i)   all or any part of a Pipeline and Terminal Asset shall
be damaged or destroyed by fire or other casualty and either (A) such damage or
destruction does not, individually or in the aggregate, constitute a Material
Damage or Condemnation or (B) Transferee does not elect to terminate this
Agreement pursuant to Section 2.4(a); or

                  (ii)  all or any part of a Pipeline and Terminal Asset shall
be taken in condemnation or under the right of eminent domain or if proceedings
for such purposes shall be pending and either (A) such taking does not,
individually or in the aggregate, constitute a

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       13
<PAGE>

Material Damage or Condemnation or (B) Transferee does not elect to terminate
this Agreement pursuant to Section 2.4(b);

then this Agreement shall remain in full force and effect notwithstanding any
such damage, destruction, taking or proceeding or the threat thereof.

            (d)   Insurance Proceeds, Condemnation Awards or Other Proceeds. To
the extent insurance proceeds (excluding any insurance proceeds payable through
self-insurance programs of Transferors or their respective affiliates),
condemnation awards or other payments are not committed, used or applied by
Transferors prior to the Closing Date to repair, restore or replace such
damaged, destroyed or taken Pipeline and Terminal Asset, Transferors shall at
the Closing (i) assign to Transferee Transferors' rights to receive all
insurance or condemnation proceeds, awards or payments (excluding any insurance
proceeds payable through self-insurance programs of Transferors or their
respective affiliates) owed to Transferors in respect of such Pipeline and
Terminal Asset by reason of such damage, destruction or taking, less any
reasonable costs and expenses incurred by Transferors in collecting same or in
connection with such proceedings or the threat thereof, and (ii) pay to
Transferee all insurance or condemnation proceeds, awards or payments (excluding
any insurance proceeds payable through self-insurance programs of Transferors or
their respective affiliates) theretofore paid to Transferors in respect of such
Pipeline and Terminal Asset by reason of such damage, destruction or taking,
less any reasonable costs and expenses incurred by Transferors in collecting
same or in connection with such proceedings or the threat thereof. Further, to
the extent Transferors do not repair, restore or replace any such damaged or
destroyed Pipeline and Terminal Asset at least substantially to the condition in
which such asset existed prior to such damage or destruction (taking into
account the age of any individual asset and its use, if any, in the Operations
immediately prior to such damage or destruction), and any insurance proceeds
paid to Transferee pursuant to Section 2.4(c) are insufficient to cover the
diminution in value of such damaged or destroyed Pipeline and Terminal Asset
resulting from such damage or destruction and Transferors' failure to repair,
restore or replace the same as provided above, then the Cash Consideration shall
be reduced by the amount of such deficiency as shall be mutually agreed by
Transferee and Transferors in good faith (such amount, the "Deficiency Amount").

      2.5 PRORATIONS. On the Closing Date, or as promptly as practicable
following the Closing Date, but in no event later than 60 calendar days
thereafter, the real and personal property Taxes, water, gas, electricity and
other utilities, local business or other license fees to the extent assigned and
other similar periodic charges payable with respect to the Contributed Assets
shall be prorated between Transferee, on the one hand, and Transferors, on the
other hand, effective as of the Effective Time with Transferors being
responsible for amounts related to the period prior to but excluding the
Effective Time and Transferee being responsible for amounts related to the
period at and after the Effective Time. The Parties shall take all actions
necessary to cause utility meter readings to be determined as of the Effective
Time or as close thereto as reasonably practicable. If the final real property
Tax rate or final assessed value for the current Tax year is not established by
the Closing Date, the prorations shall be made on the basis of the rate or
assessed value in effect for the preceding Tax year and shall be adjusted when

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       14
<PAGE>

the exact amounts are determined. All such prorations shall be based upon the
most recent available assessed value available prior to the Closing Date.

      2.6 CLOSING COSTS; TRANSFER TAXES AND FEES.

            (a)   Allocation of Costs. Transferee shall pay the cost of all
sales, transfer and use Taxes arising out of the transfer of the Contributed
Assets pursuant to this Agreement and, subject to Section 2.2(k), all costs and
expenses (including recording fees and real estate transfer Taxes and real
estate transfer stamps) incurred in connection with obtaining or recording title
to the Contributed Assets. The sales, use and transfer Tax returns required by
reason of said transfer shall be timely prepared and filed by the party normally
obligated by Law or regulation to make such filing. Transferors and Transferee
agree to cooperate with each other in connection with the preparation and filing
of such returns, in obtaining all available exemptions from such sales, use and
transfer Taxes, and in timely providing each other with resale certificates and
any other documents necessary to satisfy any such exemptions.

            (b)   Reimbursement. If Transferee, on the one hand, or any
Transferor, on the other hand, pays any Tax agreed to be borne by the other
party under this Agreement, such other party shall promptly (within five
business days) reimburse the paying party for the amounts so paid. If any party
receives any Tax refund or credit applicable to a Tax paid by another party
hereunder, the receiving party shall promptly (within five business days) pay
such amounts to the party entitled thereto.

            (c)   Agreement Regarding Records. Prior to Closing, Transferee and
Transferors shall identify those records and documents that shall constitute a
part of the Records. On or before the 60th day following the Closing,
Transferors shall provide originals of the applicable records and documents to
Transferee to the extent Transferors or their respective affiliates have such
originals in their possession. Transferors shall deliver any records and
documents that constitute a part of the Records that are discovered by
Transferors to be in their possession or the possession of any of their
respective affiliates after the date on which the Records are delivered to
Transferee pursuant to the provisions hereof.

                                   ARTICLE III
            REPRESENTATIONS AND WARRANTIES OF THE TRANSFEROR PARTIES

      The Alon Parties, jointly and severally, hereby represent and warrant to
Transferee as follows:

      3.1 ORGANIZATION. Each Alon Party and Newco 1 is an entity duly organized,
validly existing and in good standing under the laws of its state of
organization and has the requisite power to own, lease and operate its
properties and assets and to carry on its business as now being conducted. Each
Alon Party and Newco 1 is duly qualified to do business and in good standing as
a foreign entity in each of the states in which it has assets or conducts
activities which require it to be so qualified or in good standing, except where
the failure to be so qualified or in good standing could not reasonably be
expected to have a Material Adverse Effect. The Alon Parties have furnished to
Transferee a true, correct and complete copy of the organizational

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       15
<PAGE>

documents for each Alon Party and Newco 1 (collectively, the "Alon Party
Organizational Documents"). The Alon Party Organizational Documents are in full
force and effect and constitute all of the organizational and governing
documents for each Alon Party and Newco 1. There are no proceedings or actions
pending or contemplated to dissolve any Alon Party or Newco 1.

      3.2 AUTHORIZATION. Each Alon Party and Newco 1 has full power and
authority to (a) execute and deliver this Agreement and the Alon Ancillary
Documents to be executed and delivered by such Alon Party or Newco 1 and (b)
consummate the transactions contemplated hereby and thereby. Each Alon Party and
Newco 1 has taken all action required by its applicable Alon Party
Organizational Documents to authorize (i) the execution, delivery and
performance of this Agreement and the applicable Alon Ancillary Documents and
(ii) the consummation of the transactions contemplated hereby and thereby. This
Agreement has been duly and validly executed and delivered by each Alon Party
and Newco 1 and is a legal, valid and binding obligation of such Alon Party or
Newco 1, enforceable against such Alon Party or Newco 1 in accordance with its
terms, except as enforcement may be limited by applicable bankruptcy,
insolvency, reorganization, moratorium, fraudulent conveyance or other similar
Laws now or hereafter in effect relating to creditors' rights generally and
general principles of equity (regardless of whether enforceability is considered
in a proceeding at law or in equity). All Alon Ancillary Documents to be
executed and delivered by each Alon Party and Newco 1 shall, on the Closing
Date, be duly and validly executed by each Alon Party and Newco 1, as
applicable, and be legal, valid and binding obligations of such Alon Party and
Newco 1, enforceable against such Alon Party and Newco 1 in accordance with
their respective terms, except as enforcement may be limited by applicable
bankruptcy, insolvency, reorganization, moratorium, fraudulent conveyance or
other similar Laws now or hereafter in effect relating to creditors' rights
generally and general principles of equity (regardless of whether enforceability
is considered in a proceeding at law or in equity).

      3.3 NO CONFLICTS OR VIOLATIONS; NO CONSENTS OR APPROVALS REQUIRED. Except
as set forth in Transferor Disclosure Schedule 3.3, the execution, delivery and
performance by each Alon Party and Newco 1 of this Agreement and the other Alon
Ancillary Documents to which such Alon Party or Newco 1 is a party do not, and
the consummation of the transactions contemplated hereby and thereby will not,
(a) violate, conflict with, or result in any breach of any provision of the Alon
Organizational Documents, (b) violate, conflict with or result in a violation or
breach of, or constitute a default (with or without due notice or lapse of time
or both) under, any of the material terms, conditions or provisions of any
Material Contract, or (c) subject to obtaining the Consents or making the
registrations, declarations or filings set forth in the next sentence, violate
in any material respect any applicable Law binding upon any Alon Party or Newco
1 or the Pipeline and Terminal Assets or the Operations. No Consent of any
Governmental Entity or any other person is required for any Alon Party or Newco
1 in connection with the execution, delivery and performance of this Agreement
and the Alon Ancillary Documents to which such Alon Party or Newco 1 is a party
or the consummation of the transactions contemplated hereby or thereby, except
as set forth in Transferor Disclosure Schedule 3.3 and except for (i)
requirements under the HSR Act, (ii) Environmental Permits and (iii)
Post-Closing Consents.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       16
<PAGE>

      3.4 COMPLIANCE WITH LAWS AND PERMITS. Except as set forth on Transferor
Disclosure Schedule 3.4, (a) Transferors hold, and upon the contributions by the
Transferors, Newco 1 will hold, all permits, licenses, variances, exemptions,
orders, franchises and approvals of all Governmental Entities necessary for the
lawful ownership or material to the operation of the Pipeline and Terminal
Assets and the conduct of the Operations (the "Permits") and (b) the Operations
comply with, and the Transferors and their respective affiliates have owned and
operated the Pipeline and Terminal Assets and conducted the Operations in
material compliance with, all applicable Laws and Permits. Except as set forth
on Transferor Disclosure Schedule 3.4, no investigation or review by any
Governmental Entity with respect to any Transferor or any of its affiliates and
relating to the Pipeline and Terminal Assets or the Operations is pending or, to
the knowledge of the Alon Parties, threatened which, if resolved adversely to
such Transferor or any of its affiliates, could reasonably be expected to have a
Material Adverse Effect. For purposes of this Section 3.4, the term "applicable
Laws," as used in clause (a) above, shall not include any Environmental Laws or
the subject matter of Section 3.20.

      3.5 ABSENCE OF LITIGATION. Except as set forth on Transferor Disclosure
Schedule 3.5, there is no Action pending or, to the knowledge of the Alon
Parties, threatened against any Transferor or any its affiliates by or before
any arbitrator or Governmental Entity and relating to or against the Pipeline
and Terminal Assets or the Operations or challenging the transactions
contemplated hereby, nor are there any reviews or investigations relating to any
Transferor or any of its affiliates and the Pipeline and Terminal Assets or the
Operations pending or, to the knowledge of the Alon Parties, threatened by or
before any arbitrator or any Governmental Entity.

      3.6 OPERATING STATEMENTS; ABSENCE OF CHANGES.

            (a)   Operating Statements. Transferors have provided to Transferee
true, correct and complete copies of statements of operating expenses and
throughput volumes for the operations of the Pipeline and Terminal Assets for
the twelve months ended December 31, 2004, 2003 and 2002, and property and
equipment ledgers, including Tax basis and Tax depreciation information, for the
Contributed Assets which ledgers are in substantially the form maintained by
Transferors or their respective affiliates in the ordinary course of business
(collectively, the "Operating Statements"). The Operating Statements (i) are
consistent in all material respects with the books and records of Transferors or
their respective affiliates relating to the conduct of the Operations, (ii)
reflect in all material respects on an accrual basis expenses for the periods
indicated that were incurred in the operation of the Pipelines and the Terminal
Assets, (iii) were prepared by management of Transferors or their respective
affiliates in good faith and based upon reasonable judgments and assumptions and
(iv) do not include or relate to any assets other than the Contributed Assets.
Transferors do not maintain any financial statements specific to the Contributed
Assets other than internally prepared monthly balance sheets and statements of
income for management control areas consisting of individual pipeline systems
and terminals.

            (b)   Absence of Changes. Since December 31, 2004, (i) Transferors
and their respective affiliates have operated the Pipeline and Terminal Assets
and conducted the Operations in the ordinary course of business consistent with
past practice, (ii) Transferors and their respective affiliates have not
incurred or suffered any change, circumstance, result, effect,

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       17
<PAGE>

event or fact, which has had or could reasonably be expected to have a material
adverse change on the Operations and (iii) there has not occurred, and
Transferors and their respective affiliates have not incurred or suffered, any
change, circumstance, result, effect, event or fact that could reasonably be
expected to have a Material Adverse Effect.

            (c)   Conduct of Operations. Except as set forth in Transferor
Disclosure Schedule 3.6(c), from and after December 31, 2004, nothing has
occurred that would have violated the terms of Sections 5.1(d), 5.1(i), 5.1(l)
and 5.1(m) hereof if the terms thereof had been in effect from and after
December 31, 2004.

      3.7 TITLE TO CONTRIBUTED ASSETS.

            (a)   Except as set forth on Transferor Disclosure Schedule 3.7(a),
Transferors have, and at the Closing Newco 1 shall receive and own, good and
marketable title to the Fee Land and all of the Contributed Assets that
constitute personal property and good and indefeasible title to or valid
leasehold interests in all of the other Contributed Assets, in each case free
and clear of any Liens, other than Permitted Liens.

            (b)   Each tract of Fee Land is owned in fee simple by the
applicable Transferor, subject only to the Permitted Liens, and except as set
forth on Transferor Disclosure Schedule 3.7(b), none of the Fee Land is subject
to any lease or other possessory interest of any person other than the
applicable Transferor. Except for the Leases, and except as described in
Transferor Disclosure Schedule 3.7(b), Transferors do not lease any parcels,
tracts of land, buildings, fixtures or improvements that are used or held for
use primarily in connection with the Operations.

            (c)   Except as set forth in Transferor Disclosure Schedule 3.7(c),
the Real Property constitutes all the parcels, tracts of land, buildings,
fixtures and improvements that are used or held for use primarily in connection
with the Operations.

            (d)   Except as set forth in Transferor Disclosure Schedule 3.7(d),
(i) other than Transferors, there are no parties in possession of any portion of
the Real Property as lessees, subtenants or tenants at sufferance or
trespassers; (ii) there is no pending, or to the knowledge of the Alon Parties,
threatened condemnation, eminent domain or similar proceeding or special
assessment affecting the Real Property, and (iii) to the knowledge of the Alon
Parties, (A) there is no pending Action to modify or terminate the present
zoning of the Real Property or any aspect thereof, and (B) certificates of
occupancy and all other Permits, and any requisite certificates of the local
board of fire underwriters (or other body exercising similar functions), have
been issued, if required by any Governmental Entity, for each of the
Improvements located on the Real Property and all such Permits have been paid
for and are in full force and effect. Except as set forth on Transferor
Disclosure Schedule 3.7(d), no commitments have been made to any Governmental
Entity, utility company, school board, church or other religious body or any
homeowners or homeowners' association, or any other organization, group or
individual, relating to the Real Property that would impose an obligation on
Transferee, its affiliates or their respective successors or assigns to make any
contribution or dedications of money or land or to construct, install or
maintain any improvements of a public or private nature on or off of the Real

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       18
<PAGE>

Property. Except as set forth on Transferor Disclosure Schedule 3.7(d), since
December 31, 2004 the Improvements have been maintained in accordance with
historical practices (but in no event at less than prudent industry standards
and practices), other than deferred maintenance projects set forth on Transferor
Disclosure Schedule 3.7(d) or deferred maintenance projects that, individually
or in the aggregate, do not exceed $50,000. To the knowledge of the Alon
Parties, the compliance in all respects of the Real Property and all aspects
thereof with all applicable zoning and similar Laws does not depend on, and no
Operating Permit for such real property depends on, any other real property or
other rights appurtenant thereto.

            (e)   Each parcel of Real Property is adequately serviced by all
public utilities and services, including electricity, water, sewage and
telecommunications, to the extent necessary to continue the operation of the
Contributed Assets located thereon consistent with operation by the applicable
Transferor prior to the date of this Agreement.

            (f)   Except as provided in Transferor Disclosure Schedule 3.7(f),
(i) neither any Alon Party nor Newco 1 is a party to any Contract regarding the
sale, conveyance, transfer, lease or disposition of any portion of the Real
Property (except for this Agreement or as contemplated hereby); (ii) there has
not been granted to any person and no person possesses, any option to purchase
or right of first refusal to purchase any portion of the Real Property; and
(iii) neither any Alon Party nor Newco 1 is a party to any occupancy Contract,
lease or similar arrangement with respect to any portion of the Real Property.

            (g)   Except as set forth in Transferor Disclosure Schedule 3.7(g),
(i) no Transferor is in material default under any Easement or Lease to which it
is a party, nor to the knowledge of the Alon Parties, is there any event or
circumstance that solely with the giving of notice or the lapse of time or both
would constitute a material default under any such Easement or Lease, (ii) there
are no easement gaps in the "Trust Pipeline" or the "River Pipeline," and to the
knowledge of the Alon Parties, the "Fin-Tex Pipeline" and (iii) the Easements
are in full force and effect and are sufficient to allow the applicable
Transferor and Newco 1 to continue to operate the Pipelines therein or thereon
(without interruption) as currently operated. All Pipelines are located fully
within the land constituting or encumbered by the Pipeline Easements. All
Easements and Leases represent valid, binding and enforceable agreements of the
applicable Transferor and, to the knowledge of the Alon Parties, each of the
parties thereto and there is no pending modification or cancellation of same.

            (h)   The applicable Transferor has a valid and subsisting leasehold
estate in and the right to quiet enjoyment of the real property leased to it
under the Pipeline Leases and Terminal Leases for the full term thereof, subject
to the Permitted Liens.

      3.8 NEWCO 1 AND NEWCO 2.

            (a)   As of the date of this Agreement and as of immediately prior
to the Closing, all of the issued and outstanding Newco 1 Equity Interests and
Newco 2 Equity Interests are owned by the Transferors, free and clear of all
Liens or Encumbrances and such Newco 1 Equity Interests shall constitute all of
the issued and outstanding equity interests of Newco 1.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       19
<PAGE>

            (b)   Immediately following the contribution required by Section 1.4
hereof, Newco 2 shall receive legal and beneficial title to all of the issued
and outstanding Newco 1 Equity Interests, free and clear of all Liens and
Encumbrances.

            (c)   Immediately following the contribution required by Section 1.5
hereof, Transferee shall receive legal and beneficial title to all of the issued
and outstanding Newco 1 Equity Interests, free and clear of all Liens and
Encumbrances.

            (d)   Newco 1 has conducted no business or activity and has no
assets or liabilities other than its liabilities and obligations under this
Agreement, and as of the Closing Newco 1 shall have no assets or liabilities
other than the Contributed Assets, Assumed Liabilities and the liabilities and
obligations under this Agreement which it shall hold immediately following the
contribution required by Sections 1.1, 1.2 and 1.3 hereof.

      3.9 CONTRACTS.

                  (a)   True, correct and complete copies of all Assumed
Contracts have been delivered to Transferee. Except as disclosed in Transferor
Disclosure Schedule 3.9(a), (i) each Assumed Contract is in full force and
effect and constitutes a valid and binding agreement, enforceable in accordance
with its terms, of the applicable Transferor and, to the knowledge of the Alon
Parties, each other party thereto, (ii) neither the applicable Transferor nor
any of its affiliates is in breach of or default, in any material respect, under
any Assumed Contract involving or relating to any of the Pipeline and Terminal
Assets, and (iii) to the knowledge of the Alon Parties, there does not exist
under any provision of any Assumed Contract any event that, with the giving of
notice or the lapse of time or both, would constitute such a breach or default
by the applicable Transferor or any of its affiliates under such contract.
Except as disclosed in Transferor Disclosure Schedule 3.9(a), no other party to
any Assumed Contract is, to the knowledge of the Alon Parties, in breach of or
default under such Assumed Contract in any material respect. No Alon Party nor
any affiliate thereof has received any notice from any other party to any
Assumed Contract that alleges any violation, breach or default by any Transferor
of any Assumed Contract in any material respect.

                  (b)   Assuming the Consents set forth on Transferor Disclosure
Schedule 3.3 are obtained prior to Closing, each Assumed Contract shall not be
cancelable by the other party due to the consummation of the transactions
contemplated hereby.

      3.10 PROHIBITED PERSONS TRANSACTIONS. Each Alon Party and Newco 1 is
currently in compliance with, and shall at all times during the term of this
Agreement (including any extension thereof) remain in compliance with, the
regulations of the Office of Foreign Asset Control ("OFAC") of the Department of
the Treasury (including those named on OFAC's Specially Designated and Blocked
Persons List) and any statute, executive order (including the September 24,
2001, Executive Order Blocking Property and Prohibiting Transactions with
Persons Who Commit, Threaten to Commit, or Support Terrorism), or other
governmental action relating thereto.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       20
<PAGE>

      3.11 INTELLECTUAL PROPERTY. All Intellectual Property used or held for use
primarily in connection with the Operations is listed in Transferor Disclosure
Schedules 1.1(i), 1.1(j), 1.1(k) and 1.1(l). Transferors own or hold pursuant to
valid licenses to use such Intellectual Property free and clear of all Liens,
and no Transferor nor any affiliate of any Transferor has granted to any third
party any license or other right to any of such Intellectual Property and no
Transferor is a party to or bound by any Contract or any other obligation
whatsoever that limits or impairs its ability to use, sell, transfer, assign or
convey the Intellectual Property, except for restrictions on assignment included
within licenses to use the Intellectual Property. Except as set forth in
Transferor Disclosure Schedule 3.11, none of the Trademarks that constitute the
Intellectual Property are being used by any Transferor or any affiliate thereof
in connection with the conduct of any business other than the Operations. Except
as set forth in Transferor Disclosure Schedule 3.11, no claim is pending or, to
the knowledge of the Alon Parties, threatened against any Transferor or any
affiliate thereof asserting that its use of the Intellectual Property infringes
the patent, trademark, copyright or other intellectual property rights of any
person and, to the knowledge of the Alon Parties, the use of such Intellectual
Property does not infringe any such rights. To the knowledge of the Alon
Parties, no person is infringing any Transferor's rights in its Intellectual
Property. All registrations and certificates issued by any Governmental Entity
relating to any of such Intellectual Property and all Contracts pursuant to
which any Transferor uses any of the Intellectual Property are valid and
subsisting, have been properly maintained and no Transferor nor any other person
is in default or violation thereunder.

      3.12 SOFTWARE PRODUCTS. Except for Excluded Assets, Transferor Disclosure
Schedule 3.12 contains a true, complete and correct list of all software
products and custom software that Transferors own or license from a third party
that is used primarily in connection with the Operations. To the knowledge of
the Alon Parties, the use of such software products and custom software by the
applicable Transferor does not violate any rights of any other person, and no
Transferor nor any affiliate of any Transferor has received any communication
alleging such a violation. Except as set forth in Transferor Disclosure Schedule
3.12, no Transferor is obligated to compensate any person for the licensing of
such software products or custom software.

      3.13 TAXES. Each Transferor and any consolidated, combined or unitary
group of which such Transferor is or has been a member has timely filed with the
appropriate Taxing Authorities all Tax returns required to be filed on or prior
to the date of this Agreement. All such Tax returns are true, correct and
complete in all material respects and the applicable Transferor or an affiliate
of such Transferor has timely paid all Taxes shown as due and payable on all Tax
returns. No Taxing Authority has raised any issues relating to Taxes for which a
Lien could otherwise be imposed after the Closing Date upon any of the
Contributed Assets. Except as set forth in Transferor Disclosure Schedule 3.13,
no audit or other proceeding by any Governmental Entity is pending or, to the
knowledge of the Alon Parties, threatened with respect to any Taxes due or any
Tax return filed by any Transferor or any affiliate of any Transferor relating
to the Pipeline and Terminal Assets or the Operations. No assessment of any Tax
(other than assessments of Taxes not yet due) is proposed against any Transferor
or any of its affiliates relating to any of the Contributed Assets. No
Transferor nor any affiliate of any Transferor has been and is now in violation
(and with notice or lapse of time, or both, would be in violation) of

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       21
<PAGE>

any applicable Law relating to the payment or withholding of Taxes relating to
the Contributed Assets or the Operations.

      3.14 SUFFICIENCY AND CONDITION OF ASSETS; ENTIRE OPERATIONS. Except as set
forth in Transferor Disclosure Schedule 3.14, (a) the Contributed Assets are in
adequate and sufficient operating condition and repair (normal wear and tear
excepted) to enable Newco 1 after the Closing to conduct the Operations as
currently conducted and are suitable for the purposes for which they are
currently used, (b) the Contributed Assets constitute all of the assets, real
and personal, tangible and intangible, necessary to conduct the Operations in
the manner presently conducted and (c) the Contributed Assets meet the legally
required mechanical integrity and other standards of the Department of
Transportation and the Environmental Protection Agency in all material respects.
Transferor Disclosure Schedule 3.14 sets forth the date of the most recent
linalog testing for mechanical integrity performed on each of the Pipelines and
true, correct and complete copies of the results of such testing have been
provided to Transferee. Prior to the date of this Agreement T&R has transferred,
conveyed and assigned all right, title and interest in the water discharge
pipeline related to Alon Refining's management control area for the Big Spring,
Texas refinery such that T&R has no right, title or interest in, or is obligated
with respect to any liability or obligation associated with, such pipeline, and
Newco 1 shall not receive any such right, title or interest, or liability or
obligation, upon the contribution and assumption contemplated by Sections 1.1
and 1.3 hereof.

      3.15 COLLECTIVE BARGAINING AGREEMENTS; LABOR RELATIONS. Except as
described in Transferor Disclosure Schedule 3.15:

            (a)   No Transferor nor any affiliate of any Transferor is a party
to any collective bargaining agreement with any labor organization relating to
employees involved in the operation of the Pipeline and Terminal Assets.

            (b)   No Transferor nor any affiliate of any Transferor has agreed
to recognize any union or other collective bargaining representative, nor has
any union or other collective bargaining representative been certified as the
exclusive bargaining representative of any employees involved in the operation
of the Pipeline and Terminal Assets.

            (c)   Transferors have provided Transferee with copies of all
certifications, collective agreements, letters of understanding and any
applicable orders of the National Labor Relations Board pertaining to a labor
organization and which relate to the employment of any employee involved in the
operation of the Pipeline and Terminal Assets.

            (d)   There is no pending or, to the knowledge of the Alon Parties,
threatened, strike, slowdown, lock-out, work-stoppage, representation petition
or other labor union organizing effort or other labor dispute, labor board
proceeding, labor arbitration proceeding, or administrative tribunal proceeding,
involving any employees involved in the operation of the Pipeline and Terminal
Assets.

      3.16 EMPLOYEES; EMPLOYEE BENEFIT MATTERS. (a) Transferor Disclosure
Schedule 3.16 contains a true, correct and complete list of the names of all
employees involved in the

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       22
<PAGE>

operation of the Pipeline and Terminal Assets as of the date of this Agreement,
specifying each employee's job title and salary.

            (b)   Transferor Disclosure Schedule 3.16(b) lists each Employee
Benefit Plan and material Benefit Arrangement maintained by any Transferor or
any ERISA Affiliate of any Transferor immediately prior to the Closing with
respect to any of the employees involved in the operation of the Pipeline and
Terminal Assets and any Employee Benefit Plan maintained or contributed to by
any Transferor or any ERISA Affiliate of any Transferor, that is subject to
Title IV of ERISA.

            (c)   Transferors have delivered to Transferee true, correct and
complete copies of all Employee Benefit Plans and material Benefit Arrangements
listed in Transferor Disclosure Schedule 3.16(b).

            (d)   Transferors have made available for Transferee's inspection a
list on a per employee basis and in reasonable detail of all current annual
compensation expenditures for the employees involved in the operation of the
Pipeline and Terminal Assets, including bonuses and similar amounts.

            (e)   Except as otherwise set forth in Transferor Disclosure
Schedule 3.16(e):

                  (i)   As to any Employee Benefit Plan listed in Transferor
Disclosure Schedule 3.16(b) and subject to Title IV of ERISA, there has been no
event or condition which presents the risk of plan termination, no accumulated
funding deficiency, whether or not waived, within the meaning of Section 302 of
ERISA or Section 412 of the Code has been incurred, no reportable event within
the meaning of Section 4043 of ERISA (for which the disclosure requirements of
Regulation Section 4043.1 et seq., promulgated by the PBGC have not been waived)
has occurred, no notice of intent to terminate the plan has been given under
Section 4041 of ERISA and no proceeding has been instituted under Section 4042
of ERISA to terminate the plan, no liability to the PBGC has been incurred.

                  (ii)  With respect to any Employee Benefit Plan, within the
meaning of Section 3(3) of ERISA, which is not listed in Transferor Disclosure
Schedule 3.16(b) but which has been sponsored, maintained or contributed to
within six years prior to the Closing Date by any Transferor or any ERISA
Affiliate of any Transferor, (A) no withdrawal liability, within the meaning of
Section 4201 of ERISA, has been incurred, which withdrawal liability has not
been satisfied, (B) no liability to the PBGC has been incurred, which liability
has not been satisfied, (C) no accumulated funding deficiency, whether or not
waived, within the meaning of Section 302 of ERISA or Section 412 of the Code
has been incurred, and (D) all contributions (including installments) to such
plan required by Section 302 of ERISA and Section 412 of the Code have been
timely made.

      3.17 PERFORMANCE OF PIPELINES; PERFORMANCE OF TERMINALS.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       23
<PAGE>

            (a)   Performance of Pipelines. Each of the Pipelines is currently
capable, in accordance with all applicable Laws and Permits, of transporting
refined products at the volumes set forth in Transferor Disclosure Schedule
3.17(a).

            (b)   Performance of Terminals. Each of the Terminals is currently
capable, in accordance with all applicable Laws and Permits, of receiving,
delivering, storing, blending or otherwise handling refined products at the
respective capacities set forth in Transferor Disclosure Schedule 3.17(b).

      3.18 INSURANCE. Transferor Disclosure Schedule 3.18 sets forth a list
(including nature of coverage, limits, deductibles and premiums) of all policies
or binders of fire, casualty, liability, burglary, fidelity, workers'
compensation, vehicular and other non-ERISA related insurance maintained, owned
or held by any Transferor or its affiliate on the date of this Agreement and
covering the Contributed Assets.

      3.19 STATUS OF TRANSFEROR PARTIES. None of the Alon Parties or Newco 1 is
(a) a "public utility company" or a "holding company," or a "subsidiary company"
of a "holding company," or an "affiliate" of either a "holding company" or a
"subsidiary company" of a "holding company," in each case within the meaning of
the Public Utility Holding Company Act of 1935 or (b) an "investment company" or
a company "controlled" by an "investment company" within the meaning of the
Investment Company Act of 1940.

      3.20 ENVIRONMENTAL MATTERS.

            (a)   Actions. Except as set forth on Transferor Disclosure Schedule
3.20(a), there are no Actions pending or, to the knowledge of the Alon Parties,
threatened to which any Transferor or any of its affiliates is, or is threatened
to be made, a party in which Environmental Costs or Liabilities are being, or
are threatened to be, asserted or directed against such Transferor or any of its
affiliates relating to any of the Pipeline and Terminal Assets or the Operations
that (x) pertain or relate to (i) any remedial obligations presently required
under any applicable Environmental Law, (ii) violations by such Transferor or
any of its affiliates of any Environmental Law, (iii) personal injury or
property damage claims relating to a release of Hazardous Materials or (iv)
response, removal or remedial costs under any Environmental Law, and (y) which
could reasonably be expected to have a Material Adverse Effect.

            (b)   Compliance. Except as set forth on Transferor Disclosure
Schedule 3.20(b) or which could not be reasonably expected to have a Material
Adverse Effect:

                  (i)   No Transferor nor any affiliate of any Transferor has
caused or allowed the generation, use, treatment, storage or disposal of
Hazardous Materials at or on any of the Pipeline and Terminal Assets except in
accordance with all applicable Environmental Laws.

                  (ii)  With respect to the current operation of the Pipeline
and Terminal Assets, each Transferor is in compliance, in all material respects,
with all limitations, restrictions, standards and obligations established under
Environmental Laws, except for violations that are or can be remedied by routine
repair and maintenance in the ordinary course of business.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       24
<PAGE>

                  (iii) Set forth in Transferor Disclosure Schedule 3.20(b)(iii)
is a true, correct and complete list of all Environmental Permits held by each
Transferor in connection with the ownership and operation of the Pipeline and
Terminal Assets in the manner they are currently operated. All such
Environmental Permits have been duly obtained or filed and are in full force and
effect, and the applicable Transferor is in compliance, in all material
respects, with such Environmental Permits. The current operation of the Pipeline
and Terminal Assets does not provide a basis for revocation or suspension of any
Environmental Permit.

                  (iv)  None of the Pipeline and Terminal Assets is encumbered
by a Lien arising or imposed under Environmental Laws.

                  (v)   To the knowledge of the Alon Parties, there are no
Hazardous Materials present on any of the Real Property in amounts that could
give rise to an obligation to perform remediation or other corrective action
pursuant to Environmental Laws, except for remediation or corrective action that
could not reasonably be expected to result in a material liability or materially
impair the conduct of the Operations from and after the Closing.

      3.21 BROKERS AND FINDERS. No investment banker, broker, finder, financial
advisor or other intermediary has been retained by or is authorized to act on
behalf of any of the Alon Parties or Newco 1 who is entitled to receive from
Transferee any fee or commission in connection with the transactions
contemplated by this Agreement.

      3.22 REPRESENTATIONS RELATING TO THE CLASS B UNITS.

            (a)   Each Transferor and Newco 2 is an "Accredited Investor" as
defined in Rule 501(a) of Regulation D promulgated under the Securities Act.

            (b)   Each Transferor and Newco 2 is acquiring the Class B Units for
its own account for investment, and not with a view to any distribution or
resale thereof in violation of the Securities Act or any other applicable
domestic or foreign securities law.

            (c)   Each Transferor and Newco 2 hereby acknowledges receipt of a
copy of the First Amended and Restated Agreement of Limited Partnership of
Transferee, as amended (the "Transferee Partnership Agreement"), and the Class B
Amendment, and acknowledges access to the Transferee Public Documents. Each
Transferor and Newco 2 and their attorneys, accountants and other
representatives have had an opportunity to ask questions of and receive answers
from Transferee or a person acting on behalf of Transferee concerning the terms
and conditions of their investment in the Class B Units.

            (d)   Each Transferor and Newco 2 acknowledges and agrees that,
based in part upon its representations contained herein and in reliance upon
applicable exemptions, the Class B Units to be acquired by Newco 2 will not be
registered under the Securities Act or the securities Laws of any other domestic
or foreign jurisdiction as of the Closing Date.

      3.23 WAIVERS AND DISCLAIMERS. TRANSFEREE ACKNOWLEDGES THAT IT HAS HAD AN
OPPORTUNITY TO INSPECT THE CONTRIBUTED ASSETS,

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       25
<PAGE>

THAT TRANSFEREE HAS CONDUCTED ITS INDEPENDENT DUE DILIGENCE INVESTIGATION AND
INSPECTION OF ALL ASPECTS OF SUCH CONTRIBUTED ASSETS AND THE CLOSING OF THE
TRANSACTIONS CONTEMPLATED HEREBY IS NOT CONDITIONED ON TRANSFEREE CONDUCTING
FURTHER DUE DILIGENCE. OTHER THAN AS EXPRESSLY SET OUT HEREIN OR IN THE ALON
ANCILLARY DOCUMENTS, TRANSFEREE IS RELYING ON SUCH INDEPENDENT INVESTIGATION AND
INSPECTION OF THE CONTRIBUTED ASSETS AND IS NOT RELYING ON ANY INFORMATION
PROVIDED BY TRANSFERORS OR THEIR AGENTS AND REPRESENTATIVES IN DETERMINING
WHETHER TO ACQUIRE THE CONTRIBUTED ASSETS.

      NOTWITHSTANDING ANYTHING TO THE CONTRARY CONTAINED IN THIS AGREEMENT,
EXCEPT FOR THE EXPRESS REPRESENTATIONS AND WARRANTIES AND OTHER COVENANTS AND
AGREEMENTS MADE BY THE ALON PARTIES IN THIS AGREEMENT AND THE ALON ANCILLARY
DOCUMENTS, TRANSFEREE ACKNOWLEDGES AND AGREES THAT THE CONTRIBUTION OF THE
CONTRIBUTED ASSETS AS PROVIDED FOR HEREIN SHALL BE MADE IN AN "AS IS", "WHERE
IS" CONDITION WITH ALL FAULTS AND THAT THE ALON PARTIES HAVE NOT MADE, NOR DO
MAKE, AND THE ALON PARTIES SPECIFICALLY NEGATE AND DISCLAIM, ANY
REPRESENTATIONS, WARRANTIES, PROMISES, COVENANTS, AGREEMENTS OR GUARANTIES OF
ANY KIND OR CHARACTER WHATSOEVER, WHETHER EXPRESS OR IMPLIED, ORAL OR WRITTEN,
PAST OR PRESENT, REGARDING (A) THE VALUE, NATURE, QUALITY OR CONDITION OF THE
CONTRIBUTED ASSETS, INCLUDING WITHOUT LIMITATION, THE WATER, SOIL, GEOLOGY OR
ENVIRONMENTAL CONDITION OF THE PROPERTIES INCLUDED IN THE CONTRIBUTED ASSETS,
GENERALLY, INCLUDING THE PRESENCE OR LACK OF HAZARDOUS SUBSTANCES OR MATTERS ON
SUCH PROPERTIES, (B) THE INCOME TO BE DERIVED FROM THE CONTRIBUTED ASSETS, (C)
THE SUITABILITY OF THE CONTRIBUTED ASSETS FOR ANY AND ALL ACTIVITIES AND USES
WHICH TRANSFEREE OR ANY OTHER PARTY MAY CONDUCT THEREON, (D) THE COMPLIANCE OF
OR BY ANY SUCH CONTRIBUTED ASSET OR ITS OPERATION WITH ANY LAWS, RULES,
ORDINANCES OR REGULATIONS OF ANY APPLICABLE GOVERNMENTAL AUTHORITY OR BODY
(INCLUDING WITHOUT LIMITATION ANY ZONING, ENVIRONMENTAL PROTECTION, POLLUTION OR
LAND USE LAWS, RULES, REGULATIONS, ORDERS OR REQUIREMENTS), OR (E) THE
HABITABILITY, MERCHANTABILITY, MARKETABILITY, PROFITABILITY OR FITNESS FOR A
PARTICULAR PURPOSE OF ANY OF THE CONTRIBUTED ASSETS. THIS PARAGRAPH SHALL
SURVIVE THE CLOSING. TRANSFEREE ACKNOWLEDGES THAT THE WAIVERS AND DISCLAIMERS IN
THIS SECTION ARE CONSPICUOUS.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       26
<PAGE>

                                   ARTICLE IV
                  REPRESENTATIONS AND WARRANTIES OF TRANSFEREE

      Transferee hereby represents and warrants to Transferors as follows:

      4.1 ORGANIZATION. Each Transferee Party is duly organized, validly
existing and in good standing under the Laws of its state of organization and
has the requisite power to own, lease and operate its properties and to carry on
its business as now being conducted. Each Transferee Party is duly qualified to
do business and in good standing as a foreign limited partnership in all
jurisdictions in which the character of the properties now owned or leased by it
or the nature of the business conducted by it requires it to be so licensed or
qualified, except where the failure to be so licensed or qualified would not
materially impair such Transferee Party's ability to consummate the transactions
contemplated by this Agreement.

      4.2 AUTHORIZATION. Each Transferee Party has full power and authority to
(a) execute and deliver this Agreement and the Transferee Ancillary Documents
contemplated hereby to be executed and delivered by such Transferee Party and
(b) consummate the transactions contemplated hereby and thereby. Each Transferee
Party has taken all action required by the organizational documents for such
party (the "Transferee Party Organizational Documents") to authorize (a) the
execution and delivery of this Agreement and the Transferee Ancillary Documents
to be executed and delivered by such Transferee Party and (b) the consummation
of the transactions contemplated hereby and thereby. This Agreement has been
duly and validly executed and delivered by each Transferee Party and is a legal,
valid and binding obligation of each Transferee Party, enforceable against it in
accordance with its terms, except as enforcement may be limited by applicable
bankruptcy, insolvency, reorganization, moratorium, fraudulent conveyance or
other similar laws now or hereafter in effect relating to creditors' rights
generally and general principles of equity (regardless of whether enforceability
is considered in a proceeding at law or in equity). All Transferee Ancillary
Documents to be executed and delivered by each Transferee Party shall on the
Closing Date be duly and validly executed by such Transferee Party and be legal,
valid and binding obligations of such Transferee Party, enforceable against it
in accordance with their respective terms, except as may be limited by
applicable bankruptcy, insolvency, reorganization, moratorium, fraudulent
conveyance or other similar Laws now or hereafter in effect relating to
creditors' rights generally and general principles of equity (regardless of
whether enforceability is considered in a proceeding at law or in equity).

      4.3 NO VIOLATIONS; NO CONSENTS OR APPROVALS REQUIRED. Except as set forth
on Transferee Disclosure Schedule 4.3, the execution, delivery and performance
by each Transferee Party of this Agreement and the Transferee Ancillary
Documents to which it is a party does not, and consummation of the transactions
contemplated hereby and thereby will not, (a) violate, conflict with, or result
in any breach of any provisions of the Transferee Party Organizational
Documents; (b) violate, conflict with or result in a violation or breach of, or
constitute a default (with or without due notice or lapse of time or both)
under, any of the terms, conditions or provisions of any material Contract, or
other instrument or obligation, to which any Transferee Party is a party or by
which any Transferee Party or any material portion of its respective assets is
bound; or (c) subject to obtaining the Consents or making the registrations,
declarations or

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       27
<PAGE>

filings set forth in the next sentence, violate any applicable Law binding upon
any Transferee Party or by which it or any material portion of its assets are
bound, except, with respect to clauses (b) and (c), such violations, conflicts,
breaches or defaults as would not materially impair the ability of any
Transferee Party to perform its obligations under this Agreement and the
Transferee Ancillary Documents to which it is a party. No Consent of any
Governmental Entity or any other person is required for Transferee in connection
with the execution, delivery and performance of this Agreement and the other
Ancillary Documents to which it is a party or the consummation of the
transactions contemplated hereby and thereby, except for (i) requirements under
the HSR Act, (ii) Post-Closing Consents, and (iii) such other Consents, the
failure of which to obtain would not materially impair the ability of the
applicable Transferee Party to perform its obligations under this Agreement and
the other Ancillary Documents to which it is or will be a party. Transferee has
obtained commitment letters from nationally recognized financing sources (whose
identity has been previously disclosed to the Alon Parties) that provide for
lending facilities in an amount up to $245,000,000 which facilities are
sufficient to provide the financing necessary for the transactions contemplated
by this Agreement including, if necessary, the refinancing of Transferee's
existing credit facility.

      4.4 ABSENCE OF LITIGATION. There is no Action pending or, to the knowledge
of the Transferee Parties, threatened against any Transferee Party or any of its
affiliates relating to the transactions contemplated by this Agreement or which,
if adversely determined, would materially impair the ability of the Transferee
Parties to perform their obligations and agreements under this Agreement and the
Transferee Ancillary Documents to which they are or will be parties and to
consummate the transactions contemplated hereby and thereby.

      4.5 VALIDITY OF CLASS B UNITS. At the Closing, the Class B Units and the
limited partner interests represented thereby will be duly and validly
authorized by the applicable Transferee Party Organizational Documents and, when
issued and delivered to Newco 2 in accordance with the terms of this Agreement,
will be validly issued, fully paid (to the extent required under the Transferee
Party Organizational Documents) and nonassessable (except as such
nonassessability may be affected by Section 17-607 of the Delaware Revised
Uniform Limited Partnership Act).

      4.6 TRANSFEREE PUBLIC DOCUMENTS. Transferee has filed with the SEC all
material reports, schedules, forms, statements and other documents required by
the Exchange Act (collectively, and in each case including all exhibits and
schedules thereto and documents incorporated by reference therein, the
"Transferee Public Documents"). As of their respective dates, except to the
extent revised or superseded by a subsequent filing with the SEC, the Transferee
Public Documents complied in all material respects with the requirements of the
Securities Act or the Exchange Act, as the case may be, and none of the
Transferee Public Documents (including any and all financial statements included
therein) as of such dates contained any untrue statement of a material fact or
omitted to state a material fact required to be stated therein or necessary in
order to make the statements therein, in light of the circumstances under which
they were made, not misleading. The consolidated financial statements of
Transferee included in all Transferee Public Documents, including any amendments
thereto, when filed, complied as to form in all material respects with
applicable accounting requirements and the published rules and regulations of
the SEC with respect thereto, and fairly presented in

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       28
<PAGE>

all material respect the financial condition and results of operations of
Transferee in accordance with GAAP, consistently applied throughout the periods
indicated.

      4.7 BROKERS AND FINDERS. There is no investment banker, broker, finder,
financial advisor or other intermediary who has been retained by or is
authorized to act on behalf of Transferee who is entitled to receive from the
Transferor Parties any fee or commission in connection with the transactions
contemplated by this Agreement.

                                    ARTICLE V
                                    COVENANTS

      5.1 CONDUCT OF THE OPERATIONS. Without in any way limiting any other
obligations of each Transferor hereunder, during the period from the date of
this Agreement to the Closing, each Transferor covenants that, unless it shall
have obtained the written consent of Transferee, which shall not be unreasonably
withheld, such Transferor shall either satisfy or cause to be satisfied the
following with respect to the Contributed Assets:

            (a)   such Transferor shall conduct the Operations only in the
ordinary and normal course consistent with past practice, but in no event in a
manner inconsistent with prudent industry practices and standards;

            (b)   such Transferor shall not enter into any transaction or
refrain from doing any action if such transaction or inaction would constitute a
material breach of any representation, warranty, covenant or other obligation of
such Transferor contained in this Agreement;

            (c)   such Transferor shall maintain and not amend any Permits
material to the Contributed Assets;

            (d)   such Transferor shall use all commercially reasonable efforts
to continue to maintain in full force and effect all policies of insurance or
renewals thereof now in effect with respect to the Contributed Assets, and shall
give all notices and present all claims under all such policies of insurance in
a due and timely fashion;

            (e)   prior to the Closing, such Transferor shall give all notices
and shall use all reasonable efforts to obtain all Consents described in
Transferor Disclosure Schedule 3.3 (except the "Railroad License Agreements"
identified therein) from all Governmental Entities or third parties;

            (f)   such Transferor shall not, and shall cause its affiliates not
to, make any amendment to, terminate or fail to use reasonable efforts to renew
any Assumed Contract, or waive, amend or terminate any rights of substantial
value relating to the Contributed Assets;

            (g)   such Transferor shall not, and shall cause its affiliates not
to, fail to maintain each Contributed Asset in a condition at least commensurate
with the current condition thereof;

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       29
<PAGE>

            (h)   such Transferor shall not incur any liabilities, or assume or
otherwise become obligated in regard to the liabilities of any other person
relating to the Contributed Assets, other than liabilities incurred in the
ordinary course of business consistent with past practice, or fail to pay or
discharge when due any liabilities except those contested in good faith;

            (i)   such Transferor shall not sell, lease, assign, transfer or
otherwise dispose of any of the Contributed Assets, other than Supplies consumed
in the ordinary course of business of the Operations and except for the
disposition of obsolete or worn out Equipment or other assets;

            (j)   except for Contracts entered into in the ordinary course of
business, such Transferor shall not enter into any new Contracts relating to the
Contributed Assets;

            (k)   such Transferor shall not mortgage, pledge or subject any of
the Contributed Assets to any Lien, except for Permitted Liens;

            (l)   such Transferor shall not fail to maintain its books, accounts
and records in the usual, regular and ordinary manner on a basis consistent with
prior years;

            (m)   such Transferor shall not fail to use all reasonable efforts
to preserve intact the relationships with employees, customers, suppliers,
licensors, licensees, distributors and other similar relationships established
in connection with the conduct of the Operations;

            (n)   such Transferor shall not relocate any of the Contributed
Assets to a different location, other than in the ordinary course of business of
the Operations and consistent with past practice;

            (o)   such Transferor shall not permit any amendment or modification
to the Alon Party Organizational Documents of Newco 1 or Newco 2; and

            (p)   such Transferor shall not commit or agree, whether in writing
or otherwise, to take any action prohibited by this Section 5.1.

      5.2 ACCESS. From the date of this Agreement until the Closing Date, each
Transferor shall, upon reasonable advance notice by Transferee, (a) provide
Transferee and its representatives reasonable access, during normal business
hours, to the Contributed Assets and the Records and (b) furnish to Transferee
such documents and information concerning the Contributed Assets as Transferee
from time to time may reasonably request. Transferee shall direct all requests
for information from each Transferor's officers, directors, auditors and other
representatives only to Joseph Israel or Harlin R. Dean. Following any such
request, each Transferor shall use its reasonably efforts to make such requested
information available to Transferee to the extent the requested information
relates to the Contributed Assets.

      5.3 SUPPLEMENTAL OPERATING STATEMENTS. Within 30 days of the end of each
month occurring after the date of this Agreement and prior to the Closing,
Transferors shall deliver to Transferee updated Operating Statements for the
month then ended (the "Supplemental

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       30
<PAGE>

Operating Statements"). The Supplemental Operating Statements shall be certified
by the Chief Financial Officer of each Transferor. Such certification shall
state that the Supplemental Operating Statements were prepared in accordance
with practices consistent with those followed in the preparation of the
Operating Statements, and (b) present fairly the operating expenses and
throughput volumes of the Pipeline and Terminal Assets for the periods
represented therein.

      5.4 NOTIFICATION. Prior to the Closing, Transferors shall provide prompt
written notice to Transferee, and Transferee shall provide prompt written notice
to Transferors, of (a) any litigation, arbitration or administrative proceeding
pending, or, to the knowledge of such party, threatened against any Transferor
Party or Transferee, as the case may be, which challenges the transactions
contemplated hereby or relates to the Contributed Assets or the Operations, (b)
the occurrence, or failure to occur, of any event of which any Transferor Party
or Transferee, as the case may be, becomes aware that has caused or that would
be likely to cause any representation or warranty of such party contained in
this Agreement to be untrue or inaccurate in any material respect at any time
from the date hereof to the Closing Date, and (c) the failure of any Transferor
or Transferee, as the case may be, to comply with or satisfy in any material
respect any covenant, condition or agreement to be complied with or satisfied by
such party hereunder.

      5.5 INJUNCTIONS. Prior to the Closing, if any Governmental Entity having
jurisdiction over any party to this Agreement issues or otherwise promulgates
any injunction, decree or similar order that prohibits the consummation of the
transactions contemplated hereby, the parties will use their commercially
reasonable efforts to have such injunction dissolved or otherwise eliminated as
promptly as possible and, prior to or after the Closing, to pursue the
underlying litigation diligently and in good faith; provided, that in no event
shall Transferee or its affiliates be required pursuant to this Agreement to
divest any interest that they may have in any assets or business.

      5.6 PAYMENTS RECEIVED. Transferors and Transferee agree that after the
Closing they shall hold and promptly transfer and deliver to the other, from
time to time as and when received by them, any cash or checks with appropriate
endorsements (using their reasonable efforts not to convert such checks into
cash), or other property (including Tax refunds) that they may receive at or
after the Closing which properly belongs to the other party. From and after the
Closing, Transferee shall have the right and authority to endorse without
recourse the name of any Transferor on any check or any other evidences of
indebtedness received by Transferee on account of the Contributed Assets
transferred to Transferee hereunder and Transferee shall give the applicable
Transferor prompt notice of each such endorsement.

      5.7 RIGHTS.

            (a) If any Consent set forth in Transferor Disclosure Schedule 3.3
is not obtained by the Transferors on or before the Closing, then, on and after
the Closing unless and until such Consent is obtained, as to the rights, assets,
benefits or remedies (collectively, the "Rights") not assignable to Transferee
because such Consent has not been obtained:

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       31
<PAGE>

                  (i) the applicable Transferor shall hold the Rights in trust
for Transferee, for the account and benefit of Newco 1;

                  (ii) Subject to clause (iv), the applicable Transferor shall,
at the request and under the direction of Transferee, take all such actions and
do all such things, at Transferor's expense, as shall in the opinion of
Transferee, be reasonably necessary or desirable in order that the obligations
of the applicable Transferor under such Rights may be performed in a manner such
that the value of the Rights shall be preserved and shall inure to the benefit
of Newco 1 and such that all such Rights may be received by Newco 1;

                  (iii) the applicable Transferor shall promptly tender over to
Newco 1 all such Rights received by such Transferor in respect of such Rights;
and

                  (iv) Transferee shall cause Newco 1 to make all payment
obligations under such Rights and, unless prohibited by the third party,
Transferee shall cause Newco 1 to perform the non-payment obligations under such
Rights on behalf of the applicable Transferor.

            (b) With respect to any Consent set forth in Transferor Disclosure
Schedule 3.3 not obtained by the Transferors on or before the Closing, the Alon
Parties shall use diligent efforts to obtain such Consent following the Closing.
Transferors shall pay directly or shall reimburse Transferee's actual
out-of-pocket costs (including, without limitation, review fees, assignment
fees, and administrative fees) reasonably incurred within 18 months after the
Closing Date in connection with obtaining consents from railroads for those
"Railroad License Agreements" identified in Transferor Disclosure Schedule 3.3;
provided, however, that Transferor shall not bear expenses associated with
increased license fees or rents for periods following the Closing Date.
Transferors and Transferee shall reasonably cooperate with each other in
obtaining such consents and shall keep each other reasonably informed of the
status of and any developments with respect to obtaining such consents.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       32
<PAGE>

      5.8 INSURANCE. With respect to any loss, liability or damage relating to,
resulting from or arising out of the conduct of the Operations on or prior to
the Closing and that constitutes an Assumed Liability and as to which
Transferors would be entitled to assert, or cause any of their respective
affiliates or any other person or entity to assert, a claim for recovery under
any policy of insurance maintained by or for the benefit of Transferors or any
of their respective affiliates thereof in respect of the Contributed Assets, at
the request of Transferee, each Alon Party will use its commercially reasonable
efforts to assert, or to assist Transferee or Newco 1 in asserting, one or more
claims under such insurance covering such loss, liability or damage if
Transferee or Newco 1 is not itself entitled to assert such claim and any Alon
Party or any of its affiliates or other person is so entitled. Any recovery
received by any Alon Party or any of its affiliates or such other person as a
result of any such assertion shall be promptly paid to Newco 1. Transferee
agrees to pay or assume all costs or liabilities of any Alon Party or any of its
affiliates in connection with any such assertion of any such claim, including
legal expenses, deductibles, retentions or self-insurance paid or incurred by
any Alon Party or any of its affiliates. Transferee agrees to cooperate, and to
cause Newco 1 to cooperate, with any Alon Party or any of its affiliates in
connection with any assertion of claims under insurance as contemplated by this
Section 5.8.

      5.9 COOPERATION. Each Alon Party shall cooperate with Transferee and
assist Transferee in identifying all licenses, authorizations, permissions or
Permits necessary to own and operate the Pipeline and Terminal Assets and
conduct the Operations from and after the Closing Date and, where permissible,
transfer existing Permits to Newco 1, or, where not permissible, assist Newco 1
in obtaining new Permits for Transferee at no cost, fee or liability to such
Alon Party.

      5.10 ADDITIONAL AGREEMENTS. Subject to the terms and conditions of this
Agreement, each of the parties shall use its commercially reasonable efforts to
do, or cause to be taken all action and to do, or cause to be done, all things
necessary, proper, or advisable under applicable Laws to consummate and make
effective the transactions contemplated by this Agreement, including the
fulfillment of the conditions set forth in Article VII to the extent that the
fulfillment of such conditions are within the control of such party; provided,
however, that in no event shall Transferee or its affiliates be required to
divest any interest that they may have in any material assets or business. In
furtherance of the foregoing, the Alon Parties and Transferee agree, at or prior
to Closing, to execute and deliver (a) all documents of conveyance, transfer or
assignment which the other party may reasonably request to further evidence or
effectuate the conveyance of all or any portion of the Contributed Assets or the
Newco 1 Equity Interests as contemplated hereby including all such documents
necessary to convey, transfer or assign ownership of Rolling Stock or other
personal property for which ownership is evidenced by title documents or
certificates, and (b) such other documents as the other party may reasonably
request in connection with the consummation of the transactions contemplated
hereby. If at any time after the Closing Date, any further action is necessary
or desirable to carry out the purposes of this Agreement, the parties to this
Agreement and their duly authorized representatives shall use commercially
reasonable efforts to take all such action. Without limiting the generality of
the foregoing, if, after the Closing Date, Newco 1 or its affiliates seek
indemnification or recovery from one or more other parties to an Assumed
Contract or otherwise seek to enforce such Assumed Contract and, to obtain such
indemnification, recovery or enforcement, it is necessary

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       33
<PAGE>

for a Transferor to initiate a lawsuit, participate in any enforcement
proceeding or otherwise provide assistance to Newco 1 or its affiliates, then,
at the request of Newco 1, and at Newco 1's expense, the Alon Parties shall take
such action as Newco 1 may reasonably request in connection with Newco 1's or
its affiliates' efforts to obtain such indemnification, recovery or enforcement.

      5.11 HSR MATTERS. Transferee and the Alon Parties shall use their
reasonable efforts to (a) obtain all authorizations or waivers required under
the HSR Act to consummate the transactions contemplated hereby, including,
without limitation, making all filings with the Antitrust Division of the DOJ
and the FTC required in connection therewith (the initial filings to occur no
later than ten (10) business days following the execution and delivery of this
Agreement) and (b) respond as promptly as practicable to all inquiries received
from the DOJ or the FTC for additional information or documentation. Transferee
and the Alon Parties shall pay in equal amounts all filing fees associated with
the filing. Each of Transferee and the Alon Parties shall furnish to the other
such necessary information and reasonable assistance as the other may request in
connection with its preparation of any filing that is necessary under the HSR
Act. Transferee and the Alon Parties shall keep each other apprised of the
status of any communications with, and any inquiries or requests for additional
information from, the FTC or the DOJ. In no event shall Transferee or any of its
affiliates, in connection with the consummation of the transactions contemplated
by this Agreement, be required to divest itself of any material assets,
properties or lines of business in order to comply with the requirements of the
HSR Act.

      5.12 ACCESS TO FINANCIAL INFORMATION.

            (a) SEC Letter. Transferee shall use commercially reasonable efforts
to obtain written confirmation from the staff of the SEC that Transferee is not
required to disclose historical financial statements for the Pipeline and
Terminal Assets or the Operations for any period prior to the acquisition
thereof by Transferee under Rule 3-05 of Regulation S-X promulgated under the
Exchange Act.

            (b) Access to Information. To the extent Transferee is unable to
obtain the written confirmation contemplated in Section 5.12(a) within thirty
(30) days from the date of this Agreement, then upon the written request of
Transferee, but only to the extent necessary to comply with Transferee's
disclosure obligations under Rule 3-05 of Regulation S-X, the Alon Parties shall
use commercially reasonable efforts to provide Transferee and its
representatives (including its independent auditors) reasonable access during
normal business hours to such historical financial information (and to those
persons who are responsible for such information) that is necessary to allow
Transferee to prepare the historical financial statements required by Rule 3-05
of Regulation S-X and to enable the audit thereof.

      5.13 BANK CONSENTS. The Alon Parties shall use their commercially
reasonable efforts to obtain the consents of their respective lenders under
their respective revolving credit and term loan agreements to the transactions
contemplated by this Agreement not later than 15 days after the date of this
Agreement, all of which consents are set forth on Schedule 7.3(e) and which
consents shall include an undertaking on the part of such lenders to deliver at
Closing the Lien

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       34
<PAGE>

releases contemplated by Section 7.2(h). Transferee agrees to reasonably
cooperate with the Alon Parties in obtaining such consents, including the
execution of a consent agreement substantially in the form of Exhibit L attached
hereto.

                                   ARTICLE VI
                               EMPLOYMENT MATTERS

      6.1 OFFERS OF EMPLOYMENT.

            (a) On or before the Closing Date, Transferors shall make available
for employment the employees listed on Transferee Disclosure Schedule 6.1(a)
(collectively, the "Material Employees"). Each Transferor acknowledges that
Transferee and its affiliates have no obligation, and have not assumed any
obligation of Transferors, to pay severance or other benefits to such employees
and no such obligations have been or will be assumed by Newco 1.

            (b) Transferee, directly or through one or more of its affiliates,
may extend offers of employment to or otherwise employ any of the Material
Employees or any other employee of Transferors or any affiliate of Transferors
whose employment was terminated by Transferors or such affiliates of Transferors
as a result of or in connection with the transactions contemplated by this
Agreement. Any offers so extended by Transferee shall be on such terms and
conditions that Transferee shall determine in its sole discretion; provided
that, as a whole, the compensation and benefits offered by Transferee shall be
no less favorable than the total compensation and benefits provided to such
employees by the applicable Transferor as of the date of this Agreement.
Transferors acknowledge that neither Transferee nor Newco 1 shall assume any
collective bargaining agreement between Transferors and any collective
bargaining representative. Transferors waive, and Transferors shall cause their
respective affiliates to waive, any claims against Transferee and its affiliates
and any employees of Transferors or their respective affiliates who are extended
an offer of employment by Transferee or its affiliates arising from such
employment by Transferee or its affiliates, including any claims arising under
any employment agreement, confidentiality agreement or non-competition agreement
between such person and Transferors or their respective affiliates.

            (c) The Material Employees who accept offers of employment from
Transferee or its affiliates made prior to the Closing shall hereinafter be
referred to as the "Transferred Employees." All employment offers made to the
Material Employees pursuant to this Section 6.1 shall be made sufficiently in
advance of the Closing so as to give such employees reasonable time to evaluate
the offers (and in no event less than 15 days prior to the Closing Date).

            (d) Effective as of the Closing, Transferee shall use commercially
reasonable efforts to provide, or cause its affiliates to provide, employee
benefits programs for the Transferred Employees that are reasonably comparable
in the aggregate to the employee benefit programs that Transferors and their
ERISA Affiliates maintained for the benefit of such Transferred Employees
immediately prior to the Closing.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       35
<PAGE>

            (e) Transferee shall take such actions as are necessary to ensure
that the Transferred Employees' service with Transferors and Transferors' ERISA
Affiliates completed prior to the Closing ("Past Service") shall be considered
as service with Transferee completed after the Closing for all purposes under
any welfare benefit plan (as defined in Section 3(1) of ERISA) or vacation
policy or sick pay policy maintained by Transferee, or any entity in the same
controlled group of corporations as Transferee or under common control with
Transferee, in which Transferred Employees are eligible to participate.
Transferee shall also take such actions as are necessary to ensure that the
Transferred Employees' Past Service shall be considered as service with
Transferee completed after the Closing for vesting and eligibility purposes, but
for no other purpose, under any pension benefit plan (as defined in Section 3(2)
of ERISA) maintained by Transferee, or any entity in the same controlled group
of corporations as Transferee or under common control with Transferee, in which
Transferred Employees are eligible to participate.

      6.2 TRANSFERORS' EMPLOYEE LIABILITIES.

            (a) Subsequent to the Closing, Transferors shall remain liable for
(i) all accrued but unpaid wages, salary or other compensation, including all
incentive compensation and bonuses, (ii) all vacation benefits and vacation pay,
in each case to the extent that such are deemed owing or otherwise accrued as of
the Effective Time or which are otherwise attributable to the period prior to
the Effective Time, (iii) all severance pay and other amounts or benefits of any
nature due, in respect of employees (including past employees and contract
labor) of Transferors and their respective affiliates, and (iv) all Employee
Benefit Plans and Benefit Arrangements and obligations and liabilities
thereunder.

            (b) Transferors shall be responsible for complying with all Laws and
obligations that may govern the termination of Transferors' employees, including
compliance with any notice requirements of (i) the WARN Act and any similar
state and local plant closing or mass layoff Laws and (ii) any collective
bargaining agreement, in either case regardless of whether such Laws or
agreements impose such requirements on Transferee or Transferors or both; and

            (c) Transferors shall be responsible for providing all employees of
Transferors and other necessary persons such notice and continuation coverage
rights as may be required under Section 4980B of the Code ("COBRA Notice").

                                  ARTICLE VII
                              CONDITIONS TO CLOSING

      7.1 CONDITIONS TO EACH PARTY'S OBLIGATION TO CLOSE. The obligations of
Transferee, the Alon Parties and Newco 1 to consummate the transactions
contemplated by this Agreement shall be subject to the satisfaction, at or prior
to the Closing, of each of the following conditions:

            (a) No Restraint. No temporary restraining order, preliminary or
permanent injunction or other order issued by any Governmental Entity or other
legal restraint or

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       36
<PAGE>

prohibition preventing the consummation of the transactions contemplated by this
Agreement shall be in effect;

            (b) Legality of Transactions. No action shall have been taken nor
any Law shall have been enacted by any Governmental Entity that makes the
consummation of the transactions contemplated by this Agreement illegal; and

            (c) HSR Waiting Period. The waiting and review period (and any
extension thereof) under the HSR Act shall have expired or been terminated.

      7.2 CONDITIONS TO TRANSFEREE'S OBLIGATION TO CLOSE. The obligation of
Transferee to consummate the transactions contemplated by this Agreement shall
be subject to the satisfaction (or waiver by Transferee), at or prior to the
Closing, of each of the following conditions:

            (a) Governmental Consents. The authorizations consents, orders or
approvals of Governmental Entities described on Schedule 7.2(a) shall have been
filed, occurred, or been obtained;

            (b) Representations and Warranties. The representations and
warranties of the Alon Parties set forth in this Agreement shall be true and
correct (without giving effect to any materiality standard or Material Adverse
Effect qualification) as of the date of this Agreement and as of the Closing
Date as though made on and as of the Closing Date (except to the extent that
such representations or warranties speak as of an earlier date, in which case
such representations and warranties shall have been true and correct as of such
specified date), except to the extent that the failure of such representations
and warranties to be true and correct would not, in the aggregate, result in a
Material Adverse Effect, and Transferee shall have received a certificate to
such effect signed on behalf of each Alon Party by the chief executive officer
or by the chief financial officer of such Alon Party;

            (c) Performance of Obligations. The Alon Parties shall have
performed in all material respects (provided that any covenant or agreement of
the Alon Parties contained herein that is qualified by a materiality standard
shall not be further qualified hereby) all obligations required to be performed
by the Alon Parties under this Agreement prior to the Closing Date, and
Transferee shall have received a certificate to such effect signed on behalf of
each Alon Party by the chief executive officer or by the chief financial officer
of such Alon Party (such certificate, together with the certificate described in
clause (b) above, the "Alon Party Closing Certificate");

            (d) Alon Ancillary Documents. The Alon Parties shall have delivered,
or caused to be delivered, to Transferee the Alon Ancillary Documents pursuant
to Section 2.2;

            (e) Third Party Consents. Each of the third party Consents listed on
Schedule 7.2(e) shall have been obtained and delivered to Transferee;

            (f) Permits. Each of the Permits which are assignable by Transferors
shall have been assigned to Newco 1 in accordance with applicable Law, and for
Permits which are not so assignable, Newco 1 shall have been issued a new
replacement Permit with terms and

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       37
<PAGE>

conditions reasonably satisfactory to Transferee except for Permits that are
immaterial to the ownership or operation of the Contributed Assets or, in
transactions similar to the transactions contemplated by this Agreement, are
normally obtained by the acquirer thereunder after the consummation thereof;

            (g) Wichita Falls Pump Station. The Alon Parties shall have
re-installed a pump at the terminal at Wichita Falls, Texas so as to enable
shipments of refined products from such terminal into T&R's "River Pipeline";
and

            (h) Release of Liens. The Alon Parties shall have caused all of the
Liens related to secured indebtedness of the Alon Parties and identified on
Transferor Disclosure Schedule 3.7(b) to be released and discharged.

      7.3 CONDITIONS TO THE ALON PARTIES' AND NEWCO 1'S OBLIGATION TO CLOSE. The
obligation of the Alon Parties and Newco 1 to consummate the transactions
contemplated by this Agreement shall be subject to the satisfaction (or waiver
by Transferors), at or prior to the Closing, of each of the following
conditions:

            (a) Governmental Consents. The authorizations, consents, orders or
approvals of Governmental Entities described on Schedule 7.3(a) shall have been
filed, occurred, or been obtained.

            (b) Representations and Warranties. The representations and
warranties of the Transferee Parties set forth in this Agreement shall be true
and correct in all material respects (provided that any representation or
warranty of the Transferee Parties contained herein that is qualified by a
materiality standard shall not be further qualified hereby) as of the date of
this Agreement and as of the Closing Date as though made on and as of the
Closing Date (except to the extent that such representations or warranties speak
as of an earlier date, in which case such representations and warranties shall
have been true and correct in all material respects as of such specified date),
and Transferors shall have received a certificate to such effect signed on
behalf of each Transferee Party by the chief executive officer or by the chief
financial officer of such Transferee Party.

            (c) Performance of Obligations. Transferee shall have performed in
all material respects (provided that any covenant or agreement of Transferee
contained herein that is qualified by a materiality standard shall not be
further qualified hereby) the obligations required to be performed by it under
this Agreement prior to the Closing Date, and Transferors shall have received a
certificate to such effect signed on behalf of Transferee by the chief executive
officer or by the chief financial officer of Transferee (such certificate,
together with the certificate described in clause (b) above, the "Transferee
Closing Certificate").

            (d) Transferee Ancillary Documents. Transferee shall have delivered,
or caused to be delivered, the Transferee Ancillary Documents pursuant to
Section 2.3.

            (e) Third Party Consents. Each of the third party Consents listed on
Schedule 7.3(e) shall have been obtained and delivered to Transferors.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       38
<PAGE>

            (f) Closing Cash Consideration. Transferee shall have delivered the
Closing Cash Consideration in accordance with Section 1.7.

            (g) Class B Amendment. Transferee shall have adopted the Class B
Amendment.

            (h) Unit Consideration. Transferee shall have delivered the
Certificates.

                                  ARTICLE VIII
                                   TERMINATION

      8.1 TERMINATION.

            (a) Right to Terminate. This Agreement may be terminated and the
transactions contemplated hereby abandoned at any time prior to the Closing:

                  (i) by mutual written consent of Transferee and Transferors;

                  (ii) by Transferee pursuant to the provisions of Sections 2.4;

                  (iii) by either Transferee or Transferors if the Closing shall
not have occurred by April 29, 2005 (the "Termination Date"), provided, however,
that this right to terminate this Agreement shall not be available to any party
whose breach of this Agreement or whose affiliate's breach of this Agreement has
been the cause of, or resulted in, the failure of the Closing to occur on or
before such date;

                  (iv) by either Transferee or Transferors if a Governmental
Entity shall have issued an Order or taken any other action, in each case
permanently restraining, enjoining, or otherwise prohibiting the transactions
contemplated by this Agreement, and such Order or other action shall have become
final and nonappealable; or

                  (v) by either Transferee or Transferors in the event of a
breach by the other party of any representation, warranty, covenant or other
agreement contained in this Agreement which (A) would give rise to the failure
of a condition set forth in Sections 7.2(b) or (c) or Sections 7.3(b) or (c), as
applicable, and (B) cannot be or has not been cured within the shorter of (1) 20
days following receipt by the breaching party of written notice of such breach
or (2) the business day immediately preceding the Termination Date (the "Cure
Period").

            (b) Effect of Investigation. The right of any party hereto to
terminate this Agreement pursuant to this Section 8.1 shall remain operative and
in full force and effect regardless of the actual or constructive knowledge of
such party regarding the subject matter giving rise to such right of
termination.

      8.2 EFFECT OF TERMINATION. Upon termination of this Agreement pursuant to
Section 8.1, the undertakings of the parties set forth in this Agreement shall
forthwith be of no further force and effect; provided, however, that this
Section 8.2 and Article XII and rights and remedies for

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       39
<PAGE>

any willful breaches of this Agreement occurring prior to such termination, in
each case, shall survive any such termination.

                                   ARTICLE IX
                                 INDEMNIFICATION

      9.1 OBLIGATIONS TO INDEMNIFY.

            (a) Transferor Parties' Obligations. Subject to the terms of this
Article IX, from and after the Closing, the Alon Parties, jointly and severally,
shall indemnify, defend and hold harmless the Transferee Indemnified Parties
from and against any and all Losses arising or resulting from any one or more of
the following:

                  (i) the Retained Liabilities;

                  (ii) the breach or nonfulfillment or nonperformance by any
Alon Party (or, if occurring prior to the Closing, Newco 1) of any agreement or
covenant in this Agreement or any Alon Ancillary Document;

                  (iii) any breach or inaccuracy of any representation or
warranty made by any Alon Party (or, if occurring prior to the Closing, Newco 1)
and contained in this Agreement, any Alon Ancillary Document, the Alon Party
Closing Certificate or any other certificate delivered hereunder (without regard
to any materiality or Material Adverse Effect qualifier contained therein);

                  (iv) except as disclosed in Transferor Disclosure Schedule
3.14, the failure of any of the Test/Fix Pipelines to meet as of the Closing
Date the legally required mechanical integrity and other standards of the
Department of Transportation and the Environmental Protection Agency (a
"Mechanical Integrity Defect", and such standards, the "Mechanical Integrity
Requirements"); provided, however, that Transferee must have discovered and
notified Transferors of any such failure prior to the first anniversary of the
Closing Date; and provided further, however, that Transferee shall give
Transferors an opportunity to participate in or observe any testing performed
for compliance with any Mechanical Integrity Requirements and prior to repairing
any Mechanical Integrity Defect giving rise to an Indemnified Claim based on
this clause (iv), (A) Transferee shall consult with Transferors regarding the
repairs required to remediate such Mechanical Integrity Defect and Transferors
may, at their option, promptly elect to repair such Mechanical Integrity Defect
at their sole cost and expense in a manner that brings the Test/Fix Pipelines
into compliance with the Mechanical Integrity Requirements, (B) if Transferors
elect to repair such Mechanical Integrity Defect in accordance with the
preceding clause (A), Transferee shall provide Transferors with reasonable
access to the Test/Fix Pipelines for the purpose of making such repairs and
Transferors shall make such repairs with a minimal of disruption to the
Operations, and (C) if Transferors as promptly as practicable repair the
Mechanical Integrity Defect at their sole cost and expense so as to bring the
Test/Fix Pipelines into compliance with the Mechanical Integrity Requirements
then Transferors shall be released from any Indemnified Claim arising based on
this clause (iv);

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       40
<PAGE>

                  (v) the Excluded Assets; or

                  (vi) the failure of the Alon Parties to complete the deferred
maintenance projects described in Transferor Disclosure Schedule 3.7(d), Items
6.a, 6.b and 6.c, prior to the Closing; provided, however, that (A) Transferee
shall consult with Transferors regarding the actions required to complete such
deferred projects and Transferors may, at their option, promptly elect to
complete such deferred projects at their sole cost and expense in accordance
with all legally required standards, (B) if Transferors elect to complete such
deferred projects in accordance with the preceding clause (A), Transferee shall
provide Transferors with reasonable access to the Wichita Falls Terminal and the
Wichita Falls pipeline river crossing for the purpose of completing such
deferred projects and Transferors shall conduct the required maintenance
activities with a minimal of disruption to the Operations, and (C) if
Transferors as promptly as practicable complete the deferred projects at their
sole cost and expense in accordance with all legally required standards, then
Transferors shall be released from any Indemnified Claim arising based on this
clause (vi).

            (b) Transferee's Obligation. Subject to the terms of this Article
IX, from and after the Closing, Transferee shall indemnify, defend and hold
harmless the Transferor Indemnified Parties from and against any and all Losses
arising or resulting from any of the following:

                  (i) the Assumed Liabilities;

                  (ii) the breach or non-fulfillment or non-performance by any
Transferee Party (or, if first occurring after the Closing, Newco 1) of any
agreement or covenant of any Transferee Party (or, if first occurring after the
Closing, Newco 1) in this Agreement or any Transferee Ancillary Document; or

                  (iii) any breach of any warranty or the inaccuracy of any
representation of any Transferee Party (or, if first occurring after the
Closing, Newco 1) in this Agreement, any Transferee Ancillary Document,
Transferee Closing Certificate or any other certificate delivered hereunder
(without regard to any materiality qualifier contained therein).

      9.2 THIRD PARTY CLAIMS.

            (a) If any Indemnified Party receives written notice of the
commencement of any action or proceeding or the assertion of any claim by a
third party or the imposition of any penalty or assessment for which indemnity
may be sought under this Article IX (a "Third Party Claim"), and such
Indemnified Party intends to seek indemnity pursuant to this Article IX, the
Indemnified Party shall promptly provide the other party (the "Indemnifying
Party") with notice of such Third Party Claim, which notice shall describe such
Third Party Claim in reasonable detail, including all relevant factual
background) and the basis on which the Indemnified Party is entitled to
indemnification hereunder. The Indemnifying Party shall be entitled to
participate in or, at its option, assume the defense, appeal or settlement of
such Third Party Claim. Such defense, appeal or settlement shall be conducted
through counsel selected by the Indemnifying Party and approved by the
Indemnified Party, which approval shall not be unreasonably withheld

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       41
<PAGE>

or delayed, and the Indemnified Party shall fully cooperate with the
Indemnifying Party in connection therewith. In the event that the Indemnifying
Party notifies the Indemnified Party that the Indemnifying Party will not assume
the defense of such Third Party Claim or otherwise fails to assume the defense
or settlement of any Third Party Claim within 15 days after receipt of notice
thereof, the Indemnified Party shall have the right to undertake the defense,
appeal or settlement of such Third Party Claim at the expense and for the
account of the Indemnifying Party.

            (b) The Indemnified Party shall be entitled, at its own expense, to
participate in the defense of such Third Party Claim; provided, however, that
the Indemnifying Party shall pay the attorneys' fees of the Indemnified Party if
(i) the employment of separate counsel shall have been authorized in writing by
any such Indemnifying Party in connection with the defense of such Third Party
Claim, (ii) the Indemnifying Party shall not have employed counsel reasonably
satisfactory to the Indemnified Party to have charge of such Third Party Claim,
(iii) the Indemnified Party shall have reasonably concluded that there may be
defenses available to such Indemnified Party that are different from or
additional to those available to the Indemnifying Party, or (iv) the Indemnified
Party's counsel shall have advised the Indemnified Party in writing, with a copy
delivered to the Indemnifying Party, that there is a conflict of interest that
could make it inappropriate under applicable standards of professional conduct
to have common counsel.

            (c) The Indemnifying Party shall obtain the prior written approval
of the Indemnified Party (which approval shall not be unreasonably withheld)
before entering into or making any settlement, compromise, admission, or
acknowledgment of the validity of any Third Party Claim or any liability in
respect thereof if, pursuant to or as a result of such settlement, compromise,
admission, or acknowledgment, injunctive or other equitable relief would be
imposed against the Indemnified Party or if, in the opinion of the Indemnified
Party, such settlement, compromise, admission, or acknowledgment could have an
adverse effect on its business, operations, assets or financial condition.

            (d) No Indemnifying Party shall consent to the entry of any judgment
or enter into any settlement that does not include as an unconditional term
thereof the giving by each claimant or plaintiff to each Indemnified Party of a
full and unconditional release from all liability in respect of such Third Party
Claim.

            (e) Notwithstanding Section 9.2(a), the Indemnifying Party shall not
be entitled to control (but shall be entitled to participate at its own expense
in the defense of), and the Indemnified Party shall be entitled to have sole
control over, the defense or settlement, compromise, admission or acknowledgment
of any Third Party Claim (i) as to which the Indemnifying Party fails to assume
the defense within 15 days after receipt of notice thereof or (ii) to the extent
the Third Party Claim seeks an order, injunction or other equitable relief
against the Indemnified Party which, if successful, would adversely affect the
business, operations, assets, or financial condition of the Indemnified Party;
provided, however, that the Indemnified Party shall make no settlement,
compromise, admission, or acknowledgment that would give rise to liability on
the part of any Indemnifying Party without the prior written consent of such
Indemnifying Party.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       42
<PAGE>

      9.3 DIRECT CLAIMS.

            (a) Notice of Indemnified Claims. In any case in which an
Indemnified Party seeks indemnification hereunder which is not subject to
Section 9.2 because no Third Party Claim is involved, the Indemnified Party
shall notify the Indemnifying Party in writing of any Losses which such
Indemnified Party claims are subject to indemnification under the terms hereof
(the "Indemnified Claims"). Subject to the limitations otherwise set forth in
this Article IX, the failure of the Indemnified Party to exercise promptness in
such notification shall not amount to a waiver of such claim unless the
resulting delay materially prejudices the position of the Indemnifying Party
with respect to such claim.

            (b) Contested Claims. Each Indemnified Claim shall (i) reference the
indemnity claim to which it relates and shall state the date upon which such
indemnity claim was first asserted; (ii) describe the nature of the Losses
incurred by the Indemnified Party; (iii) describe the reason that the Losses are
recoverable from the Indemnified Party; (iv) state the amount of the Losses; and
(v) provide copies of all available documentation supporting the amount of the
Losses. The Indemnifying Party shall have 30 days following receipt of an
Indemnified Claim to review such claim. The Indemnified Party shall make a
representative reasonably available during this period to respond to any
questions by the Indemnifying Party concerning the Indemnified Claim. If the
Indemnifying Party objects to all or any portion of the Indemnified Claim (an
"Objection"), the Indemnifying Party shall deliver its Objection in writing to
the Indemnified Party. Each such Objection shall state (A) if applicable, why
the Indemnified Claim is not recoverable from the Indemnifying Party; (B) the
amount of Losses objected to by the Indemnifying Party (the "Contested Amount");
and (C) if applicable, the amount of the Losses not objected to by the
Indemnifying Party (the "Uncontested Amount"). Any Objection by the Indemnifying
Party to an Indemnified Claim that is not received by the Indemnified Party
within 30 days of the Indemnifying Party's receipt of such Indemnified Claim
shall be deemed waived.

            (c) Uncontested Claims. If the Indemnifying Party does not object to
an Indemnified Claim from an Indemnified Party or fails to tender an Objection
within 30 days following its receipt of a Indemnified Claim from an Indemnified
Party, the Indemnifying Party shall promptly (but in any event within five days
after expiration of such 30-day period) tender payment to the Indemnified Party
in the amount of the Indemnified Claim in accordance with Section 9.8. Upon the
Indemnified Party's receipt of an Objection, the Uncontested Amount, if any,
shall promptly (but in any event within five days after such receipt) be
tendered by the Indemnifying Party in accordance with Section 9.8.

            (d) Resolution. The resolution of any Indemnification Dispute
concerning an Objection shall be made according to the procedures set forth in
Section 9.4. The Indemnified Party and the Indemnifying Party shall abide by any
resolution reached pursuant thereto. Upon receipt of any arbitration decision or
other resolution reached pursuant thereto, or any other final judgment entitling
an Indemnified Party to indemnification, the Indemnifying Party shall promptly
(but in any event within five days after receipt of such decision, resolution or
judgment) tender payment to the Indemnified Party in the amount of such
arbitration award, resolved amount or final judgment, as the case may be in
accordance with Section 9.8.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       43
<PAGE>

            (e) No Waiver. Subject to the limitations otherwise set forth in
this Article IX, the failure of any Indemnified Party to exercise promptness in
notification of an Indemnified Claim, seeking payment of such a claim or seeking
other treatment of such a claim, shall not amount to a waiver or limitation of
such Indemnified Claim unless and to the extent the resulting delay materially
prejudices the position of the Indemnifying Party with respect to such claim.

      9.4 DISPUTE RESOLUTION - INDEMNIFICATION.

            (a) The parties agree that the following dispute resolution
procedures shall govern any dispute arising out of or in connection with any
claims for indemnification pursuant to this Article IX (an "Indemnification
Dispute").

            (b) In the event of an Indemnification Dispute, either party may
initiate negotiation proceedings by sending a letter (the "Negotiation Letter")
to the other party in which event the parties shall attempt in good faith to
resolve any Indemnification Dispute promptly by negotiation. Such Negotiation
Letter shall set forth the particulars of the dispute, the terms of the
Agreement that are involved and a suggested resolution. The recipient of the
letter must respond within 20 days and include a response to the proposed
solution. If the matter has not been resolved within 60 days of a party's
request for negotiation (the "Negotiation Period"), either party may initiate
arbitration as provided below.

            (c) In the event of an Indemnification Dispute that is not resolved
within the Negotiation Period, either party may seek expedited and binding
arbitration administered by the American Arbitration Association ("A.A.A.")
according to its Commercial Arbitration Rules subject to the following
procedures:

                  (i) The party desiring to initiate arbitration in connection
with any Indemnification Dispute shall notify the other party in writing, which
notice shall include a demand for arbitration and include a statement of the
matter in controversy in reasonable detail setting forth the basis of the
Indemnification Dispute and the relief being sought, and shall file a copy of
the demand for arbitration with the Administrator of the A.A.A. in Dallas, Texas
together with the appropriate filing fee.

                  (ii) The party receiving such notice must file any response or
counterclaim within 30 days after service of the demand. Failure to file a
counterclaim or response shall not operate to delay the arbitration proceedings.

                  (iii) The initiating party must file a response to any
counterclaim within 15 days of the filing of the counterclaim.

                  (iv) After the filing of the claim, response and counterclaim,
and any response to counterclaims, no further claims or counterclaims may be
made, except on motion to the arbitrators.

                  (v) The case shall be submitted to a panel of three
independent and impartial arbitrators jointly selected by the parties. If, after
a period of 15 days from the filing of

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       44
<PAGE>

the demand for arbitration, the parties are unable to jointly agree on the
identity of the three arbitrators, each party shall then appoint one arbitrator
within 15 days of the expiration of such 15 day period. If either party fails to
appoint an arbitrator, the A.A.A. shall, at the request of one of the parties,
appoint the second arbitrator. The two arbitrators so selected shall within 15
days after their designation select a neutral third arbitrator, who will serve
as the chair of the panel ("Chair"). If the two arbitrators are unable to select
a third arbitrator, the A.A.A. shall, at the request of one of the parties,
appoint the third arbitrator, who will serve as the Chair. Each arbitrator must
agree in writing prior to his or her acceptance as an arbitrator to abide by the
terms and conditions of this Agreement.

                  (vi) Once appointed, the arbitrators shall schedule a
pre-hearing status conference to be held in Dallas, Texas not more than 14 days
from the date of their appointment, and shall appoint a time for a final hearing
to be held in Dallas, Texas not more than 30 days from the date of the status
conference. The final hearing shall conclude no later than 30 days after its
commencement. The arbitrators shall render a written decision within 10 days
from the conclusion of the final hearing setting forth the arbitrators'
determination (and stating with reasonable detail the reasons for the
determination reached). Each party shall bear its own cost of preparing for and
presenting its case, including attorney's fees. The cost of arbitration,
including the fees and expenses of the arbitrators, will be shared equally by
each party, unless the arbitrators determine otherwise.

                  (vii) The Chair shall conduct discovery and resolve all
discovery disputes. The Chair shall authorize such discovery as may be shown to
be necessary to ensure a fair hearing; provided, however, that such discovery
shall be completed within 20 days from the date of the status conference. Except
as needed for presentation in lieu of a live appearance, each party shall be
limited to three business days (9:00 a.m. to 5:00 p.m.) of depositions. This
limitation shall apply to each separate arbitration that may be conducted
pursuant to this Agreement. The parties shall be entitled to engage in document
discovery by requesting production of documents. The parties shall use their
commercially reasonable efforts to serve responses or objections to such
requests within 10 days after receipt of such a request. The Chair shall resolve
any discovery disputes by such prehearing conference(s) as such arbitrator may
deem necessary. The parties agree that the Chair and any counsel of record to
the proceeding shall have the power of subpoena process and the power to compel
the parties to appear and produce documents for the purpose of the proceeding.

                  (viii) The arbitrators shall not be bound by the rules of
evidence or of civil procedure, but rather may consider such writings and oral
presentations as such arbitrators or the parties may deem desirable or
necessary. Prior to testifying, whether directly in the presence of the
arbitrators or through depositions, each witness shall be sworn to tell the
truth, subject to the perjury laws of the State of Texas.

                  (ix) A majority of the arbitrators may award injunctive relief
or any other legal or equitable remedy available from a court, including the
joinder of parties or consolidation of this arbitration with any other involving
common issues of law or fact which may promote judicial economy.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       45
<PAGE>

                  (x) This dispute resolution procedure is intended to be the
exclusive method of resolving any Indemnification Dispute.

                  (xi) Either party may apply to the United States District
Court for the Northern District of Texas to enforce any portion of this
arbitration agreement (as provided in USC Section 3) or to enter judgment upon
the award (as provided in 8 U.S.C. Section 9). Each party agrees that the
arbitration provisions set forth in this Section 9.4 and the decision and the
award of the arbitrators shall be treated as an absolute and final bar to any
suit instituted in any federal, state or local court relating to the
Indemnification Dispute, except as provided in the Federal Arbitration Act.

                  (xii) It is agreed that from the time of the filing of the
demand for arbitration to no more than 10 days after the status conference, the
parties shall meet and endeavor to formulate a written agreement governing as
many of the other aspects of the arbitration proceeding as can be resolved or
agreed upon, subject to the procedures and principles set forth herein, subject
to the Federal Arbitration Act, and subject to the Commercial Arbitration Rules.
In particular, the parties shall endeavor to reach agreement as to the specific
legal principles that the arbitrators shall apply to resolve the Indemnification
Dispute, stipulate to as many facts as possible, and frame as narrowly as
possible the issues which are submitted to the arbitrators for resolution.

                  (xiii) All aspects of an arbitration conducted pursuant to
this Section 9.4 shall be and remain confidential and all participants shall be
bound by judicially enforceable obligations of strict confidentiality except to
the extent the parties agree in writing to waive in whole or part such
confidentiality, or as otherwise required by applicable Law.

                  (xiv) If any provision of this Section 9.4 is adjudged to be
void or otherwise unenforceable, in whole or in part, such adjudication shall
not effect the validity of the remainder of this Agreement.

                  (xv) The arbitration shall follow the substantive law of the
State of Texas. This shall include the provisions of statutory law dealing with
arbitration, as it may exist at the time of the demand for arbitration, insofar
as said provisions are not in conflict with this Agreement.

      9.5 LIMITS OF LIABILITY.

            (a) Minimum Loss; Cap. No Indemnified Party shall be entitled to be
indemnified for Losses pursuant to Section 9.1(a)(iii) or Section 9.1(b)(iii)
unless and until the respective aggregate amount of all such Losses exceeds
$750,000 (the "Minimum Loss"). After the Minimum Loss is exceeded, the
Indemnified Party shall be entitled to be paid the entire amount of any Losses
pursuant to Section 9.1(a)(iii) or Section 9.1(b)(iii), which exceed the Minimum
Loss, subject to the other provisions of this Agreement; provided, however, that
(i) the aggregate liability of Transferee for Losses under Section 9.1(b)(iii)
shall not exceed $20,000,000 and (ii) the aggregate liability of the Alon
Parties for Losses under Section

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       46
<PAGE>

9.1(a)(iii), together with Environmental Costs and Liabilities under the
Environmental Agreement, shall not exceed $20,000,000.

            (b) Minimum Claim. If any claim or groups of related claims for
indemnification by an Indemnified Party that is indemnifiable under Section
9.1(a)(iii) or Section 9.1(b)(iii) of this Agreement results in respective
aggregate Losses to such Indemnified Party that do not exceed $10,000, such
Losses shall not be deemed to be Losses under this Agreement and shall not be
eligible for indemnification under this Article IX.

            (c) No Special Damages. In no event shall any Indemnifying Party be
liable to any Indemnified Party with respect to any matter arising under or in
relation to this Agreement for any special, consequential, punitive or exemplary
damages, except to the extent such damages are included within a judgment
rendered against an Indemnified Party with respect to a Third Party Claim for
which indemnification is available under the terms of this Article IX; provided,
however, that this Section 9.5(c) shall not apply to limit the damages a party
may seek under this Article IX with respect to any breach by any other party
under the Pipelines and Terminals Agreement to the extent such damages are
allowable under the Pipelines and Terminals Agreement.

      9.6 SURVIVAL OF COVENANTS, REPRESENTATIONS AND WARRANTIES. Covenants
contained in this Agreement, the Alon Ancillary Documents or the Transferee
Ancillary Documents shall survive the Closing and shall continue thereafter
until fully performed. The representations and warranties contained in this
Agreement, the Alon Ancillary Documents or the Transferee Ancillary Documents,
shall survive the Closing and shall continue thereafter notwithstanding such
Closing or any investigation made by or on behalf of the party entitled to the
benefit thereof or any knowledge of such party; provided, however, that (a) the
representations and warranties set out in Sections 3.3 (other than Section
3.3(a)), 3.4, 3.5, 3.6, 3.7 (other than Sections 3.7(a), 3.7(b), 3.7(f), 3.7(g)
and 3.7(h)), 3.9, 3.10, 3.11, 3.12, 3.14, 3.15, 3.16, 3.17, 3.18, 3.19 and 3.22
and Sections 4.3 (other than 4.3(a)), 4.4, 4.6 and the corresponding
representations and warranties set out or incorporated in the certificates to be
delivered pursuant to this Agreement, shall terminate on the first anniversary
of the Closing Date, (b) the representations and warranties set out in Sections
3.1, 3.2, 3.3(a), 3.7(a), 3.7(b), 3.7(f), 3.7(g), 3.7(h), 3.8, 3.13, 3.21 and
Sections 4.1, 4.2, 4.3(a), 4.5 and 4.7 and the corresponding representations and
warranties set out or incorporated in the certificates to be delivered pursuant
to this Agreement, shall terminate following the tenth day after the expiration
of all applicable statutes of limitation with respect to such representations
and warranties (after taking into account all extensions and suspensions
thereof), and (c) the representations and warranties contained in Section 3.20
shall terminate at Closing. Any claim by a party in respect of such
representations and warranties must be made in writing prior to the expiration
of such periods.

      9.7 EXCLUSIVE REMEDY. After the Closing and subject to Section 12.8, the
provisions of this Article IX and the Environmental Agreement shall be the
exclusive basis for assertion of claims against, or the imposition of liability
on, any party by another party hereto with respect to any breach of, or other
failure to meet any obligation under, this Agreement; provided, however, that
any right to indemnification pursuant to Article IX hereof shall be cumulative
to and not exclusive of any remedies available to a party under the Pipelines
and Terminals Agreement;

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       47
<PAGE>

provided, further, that the foregoing proviso shall not entitle any party or its
affiliates to any duplicative recoveries.

      9.8 PAYMENTS. All payments to be made by an Indemnifying Party to any
Indemnified Party pursuant to this Article IX shall be made by wire transfer of
immediately available funds to an account designated by the Indemnified Party.
Any payments pursuant to this Article IX shall be treated as an adjustment to
the Aggregate Consideration which shall not be treated as a capital contribution
under the Transferee Partnership Agreement or otherwise affect the parties
capital accounts under Section 5.5 of the Transferee Partnership Agreement.

      9.9 ADMINISTRATION OF INDEMNITY CLAIMS. Notwithstanding anything else in
this Article IX, any claim for indemnification pursuant to this Article IX,
whether for a Third Party Claim pursuant to Section 9.2 or a direct claim
pursuant to Section 9.3, (a) on behalf of a Transferee Indemnified Party must be
made and administered by Transferee, or its successors or assigns as permitted
herein, and (b) on behalf of a Transferor Indemnified Party must be made and
administered by Alon USA, or its successors and assigns as permitted herein.

                                   ARTICLE X
                          INTERPRETATION; DEFINED TERMS

      10.1 INTERPRETATION. It is expressly agreed that this Agreement shall not
be construed against any party, and no consideration shall be given or
presumption made, on the basis of who drafted this Agreement or any particular
provision hereof or who supplied the form of Agreement. Each party hereto agrees
that this Agreement has been purposefully drawn and correctly reflects its
understanding of the transaction that this Agreement contemplates. In construing
this Agreement:

            (a) examples shall not be construed to limit, expressly or by
implication, the matter they illustrate;

            (b) the word "includes" and its derivatives means "includes, but is
not limited to" and corresponding derivative expressions;

            (c) a defined term has its defined meaning throughout this Agreement
and each Exhibit, Annex and Schedule to this Agreement, regardless of whether it
appears before or after the place where it is defined;

            (d) each Exhibit, Annex and Schedule to this Agreement is a part of
this Agreement, but if there is any conflict or inconsistency between the main
body of this Agreement and any Exhibit, Annex or Schedule, the provisions of the
main body of this Agreement shall prevail;

            (e) the term "cost" includes expense and the term "expense" includes
cost;

            (f) the headings and titles herein are for convenience only and
shall have no significance in the interpretation hereof;

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       48
<PAGE>

            (g) the inclusion of a matter on a Schedule in relation to a
representation or warranty shall not be deemed an indication that such matter
necessarily would, or may, breach such representation or warranty absent its
inclusion on such Schedule;

            (h) any reference to a statute, regulation or law shall include any
amendment thereof or any successor thereto and any rules and regulations
promulgated thereunder;

            (i) currency amounts referenced herein, unless otherwise specified,
are in U.S. Dollars;

            (j) unless the context otherwise requires, all references to time
shall mean time in Dallas, Texas;

            (k) whenever this Agreement refers to a number of days, such number
shall refer to calendar days unless business days are specified; and

            (l) if a term is defined as one part of speech (such as a noun), it
shall have a corresponding meaning when used as another part of speech (such as
a verb).

      10.2 REFERENCES, GENDER, NUMBER. All references in this Agreement to an
"Article," "Section," "subsection," "Exhibit" or "Schedule" shall be to an
Article, Section, subsection, Exhibit or Schedule of this Agreement, unless the
context requires otherwise. Unless the context clearly requires otherwise, the
words "this Agreement," "hereof," "hereunder," "herein," "hereby," or words of
similar import shall refer to this Agreement as a whole and not to a particular
Article, Section, subsection, clause or other subdivision hereof.
Cross-references in this Agreement to a subsection or a clause within a Section
may be made by reference to the number or other subdivision reference of such
subsection or clause preceded by the word "Section," such as, by way of example,
Section 3.20(a)(i). Whenever the context requires, the words used herein shall
include the masculine, feminine and neuter gender, and the singular and the
plural.

      10.3 DEFINED TERMS. Unless the context expressly requires otherwise, the
respective terms defined in this Section 10.3 shall, when used in this
Agreement, have the respective meanings herein specified, with each such
definition to be equally applicable both to the singular and the plural forms of
the term so defined.

      "A.A.A." shall have the meaning set forth in Section 9.4(c).

      "Action" shall mean any claim, action, suit, investigation, inquiry,
proceeding, condemnation or audit by or before any court or other Governmental
Authority or any arbitration proceeding.

      "affiliate" shall mean, with respect to a specified person, any other
person controlling, controlled by or under common control with that first
person. As used in this definition, the term "control" includes (a) with respect
to any person having voting securities or the equivalent and elected directors,
managers or persons performing similar functions, the ownership of or power

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       49
<PAGE>

to vote, directly or indirectly, voting securities or the equivalent
representing 50% or more of the power to vote in the election of directors,
managers or persons performing similar functions, (b) ownership of 50% or more
of the equity or equivalent interest in any person and (c) the ability to direct
the business and affairs of any person by acting as a general partner, manager
or otherwise.

      "Aggregate Consideration" shall have the meaning set forth in Section
1.7(a).

      "Agreement" shall have the meaning set forth in the preamble.

      "Alon Ancillary Documents" shall mean each agreement, document, instrument
or certificate to be delivered by the Alon Parties or Newco 1 at the Closing
pursuant to Section 2.2 hereof and each other document or Contract entered into
by an Alon Party or Newco 1 in connection with this Agreement or the Closing.

      "Alon LP" shall have the meaning set forth in the preamble.

      "Alon Parties" shall have the meaning set forth in the preamble.

      "Alon Party Closing Certificate" shall have the meaning set forth in
Section 7.2(c).

      "Alon Party Organizational Documents" shall have the meaning set forth in
Section 3.1.

      "Alon Refining" shall have the meaning set forth in the preamble.

      "Alon USA" shall have the meaning set forth in the preamble.

      "Ancillary Documents" means, collectively, the Transferee Ancillary
Documents and the Alon Ancillary Documents.

      "Assignee" shall have the meaning set forth in Section 12.7(b).

      "Assignment and Assumption Agreement" shall have the meaning set forth in
Section 2.2(g).

      "Assignor" shall have the meaning set forth in Section 12.7(b).

      "Assumed Contracts" shall have the meaning set forth in Section 1.1(h).

      "Assumed Liabilities" shall have the meaning set forth in Section 1.3(a).

      "Benefit Arrangement" means any employment, consulting, severance or other
similar contract, arrangement or policy, practice and procedure, and each plan,
arrangement (written or oral), program, agreement or commitment providing for
insurance coverage (including without limitation any self-insured arrangements),
workers' compensation, disability benefits, supplemental unemployment benefits,
vacation benefits, retirement benefits, life, health, disability or accident
benefits (including without limitation any "voluntary employees' beneficiary
association" as defined in Section 501(c)(9) of the Code providing for the same
or

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       50
<PAGE>

other benefits) or for deferred compensation, profit-sharing bonuses, stock
options, stock appreciation rights, stock purchases or other forms of incentive
compensations or post-retirement insurance, compensation or benefits which (a)
is not a Welfare Plan, Pension Plan, or Multiemployer Plan, (b) is entered into,
maintained, contributed to or required to be contributed to, as the case may be,
by any Transferor or any ERISA Affiliate or under which any Transferor or any
ERISA Affiliate may incur any liability, and (c) covers any employee or former
employee of any Transferor or any ERISA Affiliate (with respect to their
relationship with such entities).

      "Bills of Sale" shall have the meaning given such term in Section 2.2(c).

      "business day" means any day on which banks are open for business in
Texas, other than Saturday or Sunday.

      "Cash Consideration" means an amount in cash equal to $120,000,000.

      "CERCLA" shall have the meaning given such term in the definition of
"Hazardous Materials."

      "Certificates" shall have the meaning given such term in Section 2.3(f).

      "Chair" shall have the meaning set forth in Section 9.4(c)(v).

      "Class B Amendment" shall have the meaning set forth in Section 2.3(e).

      "Class B Units" means the Class B Subordinated Units representing limited
partner interests in the Transferee.

      "Closing" shall have the meaning set forth in Section 2.1.

      "Closing Cash Consideration" means an amount in cash equal to the
difference between the Cash Consideration minus the aggregate Deficiency Amount,
if any.

      "Closing Date" shall have the meaning set forth in Section 2.1.

      "COBRA Notice" shall have the meaning set forth in Section 6.2(c).

      "Code" means the Internal Revenue Code of 1986, as amended.

      "Confidential Information" shall have the meaning set forth in Section
11.3(a)(i).

      "Consents" means all authorizations, consents, orders or approvals of, or
registrations, declarations or filings with, or expiration of waiting periods
imposed by, any Governmental Entity, in each case that are necessary in order to
consummate the transactions contemplated by this Agreement and the other
Ancillary Documents, and all consents and approvals of third parties necessary
to prevent any conflict with, violation or breach of, or default under, the
Material Contracts.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       51
<PAGE>

      "Contested Amount" shall have the meaning set forth in Section 9.3(b).

      "Contract" shall mean any written or oral contract, agreement, indenture,
instrument, note, bond, loan, lease, mortgage, franchise, license agreement,
purchase order, binding bid or offer, binding term sheet or letter of intent or
memorandum, commitment, letter of credit or any other legally binding
arrangement, including any amendments or modifications thereof and waivers
relating thereto.

      "Contributed Assets" shall have the meaning set forth in Section 1.1.

      "Copyrights" shall have the meaning set forth in Section 1.1(j).

      "Cure Period" shall have the meaning set forth in Section 8.1(a)(v).

      "Deficiency Amount" shall have the meaning given such term in Section
2.4(d).

      "DOJ" means the United States Department of Justice.

      "Easements" means, collectively, the Pipeline Easements and the Terminal
Easements.

      "Effective Time" shall have the meaning set forth in Section 2.1.

      "Employee Benefit Plans" means any "employee benefit plan" within the
meaning of Section 3(3) of ERISA and any bonus, deferred compensation, incentive
compensation, stock ownership, stock purchase, stock option, phantom stock,
vacation, severance, disability, death benefit, hospitalization or insurance
plan that provides or provided benefits to any present or former employee or
contractor of Transferor or any ERISA Affiliate maintained by any such entity or
as to which any such entity has any liability or obligation.

      "Encumbrances" means options, warrants, calls, rights of purchase or
consent rights.

      "Environmental Agreement" shall have the meaning given such term in
Section 2.2(e).

      "Environmental Costs or Liabilities" means any losses, liabilities, fines,
penalties, judgments, settlements, actions, claims and capital expenditures
(including, without limitation, reasonable fees, disbursements and expenses of
legal counsel, experts, engineers and consultants, and the costs of
investigation or feasibility studies and performance of remedial or removal
actions and cleanup activities) required under any Environmental Laws or under
any order or contract with any Governmental Entity or any private or public
person relating to environmental matters, in each case as in effect from time to
time prior to the Closing Date.

      "Environmental Laws" shall have the meaning set forth in the definition of
"Hazardous Materials" in this Section 10.3.

      "Environmental Permit" shall mean any permit, license, approval,
registration, identification number or other authorization with respect to the
Contributed Assets that is required by applicable Environmental Laws.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       52
<PAGE>

      "Equipment" shall have the meaning given such term in Section 1.1(c).

      "ERISA" means the Employee Retirement Income Security Act of 1974, as
amended.

      "ERISA Affiliate" means any entity which is (or at any relevant time was)
a member of a "controlled group of corporations" with or under "common control"
with any Transferor as defined in Section 414(b) or (c) of the Code.

      "Exchange Act" means the Securities Exchange Act of 1934, as amended.

      "Excluded Assets" shall have the meaning set forth in Section 1.2.

      "Fee Land" means, collectively, the Pipeline Fee Land and the Terminal Fee
Land.

      "Fin-Tex" shall have the meaning set forth in the preamble.

      "FTC" means the United States Federal Trade Commission.

      "GAAP" means generally accepted accounting principles in the United States
of America.

      "General Arbitration Notice" shall have the meaning set forth in Section
12.9(b)(i).

      "General Dispute" shall have the meaning set forth in Section 12.9(a).

      "General Dispute Negotiation Period" shall have the meaning set forth in
Section 12.9(a)(iii).

      "Governmental Entity" means any Federal, state, local or foreign court or
governmental agency, authority or instrumentality or regulatory body.

      "Hazardous Materials" means and includes, but shall not be limited to, any
petroleum product and all hazardous or toxic substances, wastes or substances,
any substances which because of their quantitative concentration, chemical,
radioactive, flammable, explosive, infectious or other characteristics,
constitute or may reasonably be expected to constitute or contribute to a danger
or hazard to public health, safety or welfare or to the environment, including,
without limitation, any asbestos (whether or not friable) and any
asbestos-containing materials, waste oils, solvents and chlorinated oils,
polychlorinated biphenyls (PCBs), toxic metals, etchants, pickling and plating
wastes, explosives, reactive metals and compounds, pesticides, herbicides, radon
gas, urea formaldehyde foam insulation and chemical, biological and radioactive
wastes, or any other similar materials or any hazardous or toxic wastes or
substances which are included under or regulated by any federal, state or local
law, rule or regulation (whether now existing or hereafter enacted prior to the
Closing, as they may be amended from time to time prior to the Closing)
pertaining to environmental regulations, emissions, discharges, contamination,
clean-up or disclosures and any judicial or administrative interpretation
thereof, including any judicial or administrative orders or judgments,
including, without limitation, the Comprehensive Environmental Response,
Compensation and Liability Act of 1980, 42 U.S.C. Section 9601 et seq.
("CERCLA"); the Federal Resource Conversation

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       53
<PAGE>

and Recovery Act, 42 U.S.C. Section 6901 et seq. ("RCRA"); Superfund Amendments
and Reauthorization Act of 1986, Public Law No. 99-499 ("SARA"); the Federal
Clean Air Act, 42 U.S.C 7401 et seq., the Toxic Substances Control Act, 15
U.S.C. Section 2601 et seq. ("TSCA"); the Hazardous Materials Transportation
Act, 49 U.S.C. Section 1801 et seq.; and any other superlien or environmental
clean-up or disclosure statutes (all such laws, rules, regulations being
referred to collectively as "Environmental Laws").

      "HEP Opco" shall have the meaning set forth in the preamble.

      "HEP Pipeline" means HEP Pipeline GP, LLC, a Delaware limited liability
company and a wholly owned affiliate of HEP Opco.

      "HSR Act" means the Hart-Scott-Rodino Antitrust Improvements Act of 1976,
as amended.

      "Improvements" means, collectively, the Pipeline Improvements and the
Terminal Improvements.

      "Indemnification Dispute" shall have the meaning set forth in Section
9.4(a).

      "Indemnified Claims" shall have the meaning set forth in Section 9.3(a).

      "Indemnified Parties" means the Transferee Indemnified Parties and the
Transferor Indemnified Parties, as applicable.

      "Indemnifying Party" shall have the meaning set forth in Section 9.2(a).

      "Indenture" shall have the meaning set forth in Section 11.6(b).

      "Intellectual Property" shall have the meaning set forth in Section
1.1(l).

      "knowledge" and any variations thereof or words to the same effect shall
mean (a) with respect to the Transferee Parties, actual knowledge after
reasonable inquiry of the following persons: Matthew P. Clifton, Stephen J.
McDonnell, W. John Glancy, James D. Townsend and Dean Ridenour; and (b) with
respect to the Alon Parties, actual knowledge after reasonable inquiry of the
following persons: Jeff D. Morris, Claire A. Hart, Joe A. Concienne, Randy
Hillman, Shai Even, Joseph Israel and Harlin R. Dean.

      "Laws" means all statutes, laws, rules, regulations, Orders, ordinances,
writs, injunctions, judgments and decrees of all Governmental Entities.

      "Leases" means, collectively, the Pipeline Leases and the Terminal Leases.

      "liabilities" shall include any direct or indirect indebtedness, guaranty,
endorsement, claim, loss, damage, deficiency, cost, expense, commitment,
obligation or responsibility, whether

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       54
<PAGE>

fixed or continent, known or unknown, asserted or unasserted, choate or
inchoate, liquidated or unliquidated, secured or unsecured.

      "Liens" means, collectively, any mortgage, pledge, lien, claim, charge,
security interest, restriction, lease, tenancy, other possessory interest, right
of purchase, conditional sales obligation or other encumbrance of any kind.

      "Losses" means any and all losses, costs, obligations, liabilities,
settlement payments, awards, judgments, fines, penalties, damages, expenses
(including those incurred with investigating, preparing, defending, bringing or
prosecuting any claim, action, suit or proceeding), deficiencies or other
charges. Notwithstanding the foregoing, in determining the amount of any Losses
for which a party is entitled to indemnification pursuant to Article IX, the
amount of such Losses shall be reduced by all insurance proceeds under the title
insurance provided for in Section 2.2(k) relating to such Losses which are
received by the Indemnified Party.

      "Material Adverse Effect" means any change, circumstance, result, effect,
event or fact (whether or not (a) foreseeable or known as of the date of this
Agreement or the Closing Date or (b) covered by insurance) that has a material
and adverse effect on Alon USA and its controlled affiliates, taken as a whole,
or on the business, prospects, assets, financial condition or results of
operations of the Pipeline and Terminal Assets, or the Operations, taken as a
whole, or that materially impairs the ability of any of the Alon Parties to
perform their respective obligations under this Agreement and the other
Ancillary Documents to which they are parties or prevents the consummation of
the transactions contemplated hereby and thereby; provided, however, that no
change, circumstance, result, effect, event or fact shall be deemed
(individually or in the aggregate) to constitute, nor shall any of the foregoing
be taken into account in determining whether there has been or may be, a
Material Adverse Effect, to the extent that such change, circumstance, result,
effect, event or fact results from (a) a general deterioration in the economy or
in the economic conditions prevalent in the industry in which Alon USA and
Transferor operate, which does not disproportionately affect Alon USA, the
Contributed Assets or the Operations (and Transferee acknowledges that the
operation of the "Longhorn Pipeline" and any changes, circumstances, results,
effects, events or facts resulting therefrom shall not constitute a Material
Adverse Effect); (b) actions taken by Transferee or any of its affiliates; (c)
compliance with the terms of, or the taking of any action required or permitted
(including, if permitted with consent of the other party, after such consent has
been obtained) by, this Agreement or any other Ancillary Document; or (d) any
matter contemplated by Section 2.4 of this Agreement.

      "Material Contract" means any of the following Contracts with respect to
the Pipeline and Terminal Assets (excluding any Contracts to be executed and
delivered pursuant to this Agreement): (a) any Contract under which Transferor
or any affiliate of Transferor has outstanding indebtedness for borrowed money
with respect to any of the Pipeline and Terminal Assets or the Operations or
with respect to which Transferor or any affiliate of Transferor has guaranteed
the obligations of any other person for borrowed money with respect to any of
the Pipeline and Terminal Assets or the Operations; (b) any Contract of surety,
guarantee or indemnification by Transferor or any affiliate of Transferor that
relates primarily to any of the Pipeline and Terminal Assets or the Operations
and either (i) was entered into outside the

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       55
<PAGE>

ordinary course of business or (ii) that reasonably could be expected to involve
an aggregate sum in excess of $50,000; (c) any Contract containing a covenant
not to compete with respect to or involving any of the Pipeline and Terminal
Assets or the Operations or other geographical limitation or other restriction
on areas in which Transferor or its transferee can conduct business; (d) any
Contract between Transferor and any affiliate of Transferor relating to the
provision of goods or services to the Operations by Transferor or any affiliate
of Transferor which will survive the Closing; (e) any Contract that is
reasonably expected either (i) to commit Transferor or any affiliate of
Transferor to aggregate expenditures of more than $50,000 in any calendar year
with respect to any of the Pipeline and Terminal Assets or the Operations or
(ii) to give rise to anticipated receipts of more than $100,000 in any calendar
year with respect to the Operations; (f) any management service, consulting or
other similar type of Contract that is reasonably expected to commit Transferor
or any affiliate of Transferor to aggregate fees or other compensation of more
than $100,000 in any calendar year with respect to the Operations; (g) any
Contract involving the storage, throughput, processing or transportation of
crude oil, feedstocks, petroleum or petroleum products with respect to or
involving or affecting the Operations; (h) any power of attorney issued by
Transferor in relation to the Operations; (i) any Contract relating to product
exchange transactions with respect to or including or affecting any of the
Pipeline and Terminal Assets or the Operations; (j) any joint venture,
partnership or similar arrangement relating to any of the Pipeline and Terminal
Assets or the Operations; or (k) any Assumed Contracts that are material to the
Operations.

      "Material Damage or Condemnation" shall mean (i) any damage to or
destruction of any Pipeline and Terminal Asset for which the net cost of repair
or replacement (taking into account any insurance, indemnities, contributions
and other rights of recovery from third parties which are included in the
Contributed Assets, or made available to Transferee pursuant to Section 5.8, and
payable in respect thereof) could reasonably be expected to exceed $3,000,000,
or (ii) any condemnation which results in a taking of any Pipeline and Terminal
Asset which has a replacement cost in excess of $3,000,000.

      "Material Employees" shall have the meaning set forth in Section 6.1(a).

      "Mechanical Integrity Defect" shall have the meaning set forth in Section
9.1(a)(iv).

      "Mechanical Integrity Requirements" shall have the meaning set forth in
Section 9.1(a)(iv).

      "Minimum Loss" shall have the meaning set forth in Section 9.5(a).

      "Negotiation Letter" shall have the meaning set forth in Section 9.4(b).

      "Negotiation Period" shall have the meaning set forth in Section 9.4(b).

      "Newco 1" shall have the meaning set forth in the preamble.

      "Newco 1 Equity Interests" shall have the meaning set forth in the
preamble.

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       56

<PAGE>

      "Newco 2" shall have the meaning set forth in the preamble.

      "Newco 2 Equity Interests" shall have the meaning set forth in the
preamble.

      "OFAC" shall have the meaning given such term in Section 3.10.

      "Objection" shall have the meaning set forth in Section 9.3(b).

      "Operating Statements" shall have the meaning set forth in Section 3.6(a).

      "Operations" shall have the meaning set forth in Section 1.1.

      "Order" shall mean any order, writ, injunction, decree, compliance or
consent order or decree, settlement agreement, schedule and similar binding
legal agreement issued by or entered into with a Governmental Entity.

      "Past Service" shall have the meaning set forth in Section 6.1(e).

      "Patents" shall have the meaning set forth in Section 1.1(k).

      "PBGC" means the Pension Benefit Guaranty Corporation.

      "Permits" shall have the meaning given such term in Section 3.4.

      "Permitted Liens" shall mean any of the following matters: (a) any (i)
inchoate Liens or similar charges constituting or securing the payment of
expenses which were incurred incidental to the conduct of the Operations or the
operation, storage, transportation, shipment, handling, repair, construction,
improvement or maintenance of the Pipeline and Terminals Assets for which the
associated expenses will be fully satisfied on or before the Closing, and (ii)
materialman's, mechanics', repairman's, employees', contractors', operators',
warehousemen's, barge or ship owner's and carriers' Liens or other similar
liens, security interests or charges for liquidated amounts arising in the
ordinary course of business incidental to the conduct of the Operations or the
ownership and operation of the Pipeline and Terminals Assets, securing amounts
the payment of which is not delinquent and that will be paid in the ordinary
course of business or, if delinquent, that are being contested in good faith
with any Action to foreclose or attach any of the Pipeline and Terminals Assets
on account thereof properly stayed; provided that, Transferors shall be
responsible for, and shall promptly pay when due, all amounts finally determined
to be owed that are the subject of such contest; (b) any Liens for Taxes not yet
delinquent or, if delinquent, that are being contested by Transferors in good
faith in the ordinary course of business and disclosed in Schedule 3.13 with any
Action to foreclose or attach any of the Pipeline and Terminals Assets on
account thereof properly stayed; provided that, Transferors shall be responsible
for, and shall promptly pay when due, all amounts finally determined to be owed
that are the subject of such contest, other than amounts which are the
obligation of Transferee under Section 2.6; (c) any Liens or security interests
reserved in leases, rights-of-way or other real property interests for rental or
for compliance with the terms of such leases, rights-of-way or other real
property interests, provided payment of the debt secured is not delinquent or,
if delinquent, is being contested in good faith in the ordinary course of
business

                           HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       57
<PAGE>

with any Action to foreclose or attach any of the Pipeline and Terminals Assets
on account thereof properly stayed; provided, that the affected party shall be
responsible for, and shall promptly pay when due, all amounts finally determined
to be owed that are the subject of such contest, other than amounts which are
the obligation of the other party under this Agreement or the Ancillary
Documents; (d) all prior reservations of minerals in and under or that may be
produced from any of the lands constituting part of the Pipeline and Terminals
Assets or on which any part of the Pipeline and Terminals Assets is located; (e)
all Liens (other than Liens for borrowed money), charges, easements, restrictive
covenants, encumbrances, Contracts, instruments, obligations, discrepancies,
conflicts, shortages in area or boundary lines, encroachments or protrusions, or
overlapping of improvements, defects, irregularities and other matters affecting
or encumbering title to the Pipeline and Terminals Assets which individually or
in the aggregate are not such as to unreasonably or materially interfere with or
prevent any material operations conducted on the Pipeline and Terminals Assets
by Transferors in the manner operated on the date of this Agreement; (f) rights
reserved to or vested in any Governmental Entity to control or regulate any of
the Pipeline and Terminal Assets or the Operations and all Laws of such
authorities, including any building or zoning ordinances and all Environmental
Laws; (g) any Contract, easement, instrument, Lien, permit, amendment, extension
or other matter entered into by a party in accordance with the terms of this
Agreement or in compliance with the approvals or directives of the other party
made pursuant to this Agreement; (h) any Lien created by Transferee; (i) all
Post-Closing Consents; (j) defects in the early chain of the title consisting of
the mere failure to recite marital status in a document or omissions of
successions of heirship proceedings, unless such failure or omission results in
another person's superior claim of title to the Pipeline Easements or relevant
portion thereof; (k) any assertion of a defect based on a lack of a survey with
respect to the Pipelines; and (l) any title defect affecting (or the termination
or expiration of) any easement, right of way, leasehold interest or fee interest
affecting property over which the Pipelines pass which has been replaced prior
to the date of this Agreement by an easement, right of way, leasehold interest
or fee interest covering substantially the same land or the portion thereof used
by Transferors.

      "person" means any individual, firm, corporation, partnership, limited
liability company, trust, joint venture, Governmental Entity or other entity.

      "Pipeline and Terminal Assets" means, collectively, the Pipeline Assets
and the Terminal Assets.

      "Pipeline Assets" shall have the meaning given such term in Section
1.1(a).

      "Pipeline Conveyance" shall have the meaning set forth in Section 2.2(b).

      "Pipeline Easements" shall have the meaning set forth in Section
1.1(a)(iii).

      "Pipeline Fee Land" shall have the meaning set forth in Section 1.1(a)(i).

      "Pipeline Improvements" shall have the meaning set forth in Section
1.1(a)(iv).

      "Pipeline Leases" shall have the meaning set forth in Section 1.1(a)(ii).

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       58
<PAGE>

      "Pipeline Real Property" means, collectively, the Pipeline Fee Land, the
Pipeline Leases, the Pipeline Easements and the Pipeline Improvements.

      "Pipelines" shall have the meaning set forth in Section 1.1(a).

      "Pipelines and Terminals Agreement" shall have the meaning set forth in
Section 2.2(d).

      "Post-Closing Consents" shall mean (a) any consent, approval or permit of,
or filing with or notice to, any Governmental Entity, railroad company or public
utility which has issued or granted any permit, license, right-of-way, lease or
other authorizations permitting any part of any pipeline included in the
Pipeline and Terminal Assets to cross or be placed on land owned or controlled
by such Governmental Entity, railroad company or public utility and (b) any
consent, approval or permit of, or filing with or notice to, any Governmental
Entity or other third party that, in the case of both clause (a) and (b), is
customarily obtained or made after closing in connection with transactions
similar in nature to the transactions contemplated hereby.

      "RCRA" shall have the meaning given such term in the definition of
"Hazardous Materials".

      "Real Property" means, collectively, the Pipeline Real Property and the
Terminal Real Property.

      "Records" shall have the meaning given such term in Section 1.1(g).

      "Representatives" means, with respect to any person, such person's
officers, directors, employees, agents and representatives (including investment
bankers and underwriters or initial purchasers of securities, lenders and their
respective attorneys or consultants, and the attorneys or consultants retained
by such person).

      "Retained Liabilities" shall have the meaning set forth in Section 1.3(b).

      "Right of First Offer Agreement" shall have the meaning set forth in
Section 2.2(f).

      "Rights" shall have the meaning set forth in Section 5.7(a).

      "Rolling Stock" means all vehicles, tractors, trailers and trucks owned or
leased by the Transferors that are used primarily in connection with the
Operations.

      "Rule 144A Debt" shall have the meaning set forth in Section 11.6(a).

      "SARA" shall have the meaning given such term in the definition of
"Hazardous Materials."

      "SEC" means the United States Securities and Exchange Commission.

      "Securities Act" means the Securities Act of 1933, as amended.

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       59
<PAGE>

      "Services Agreement" shall have the meaning set forth in Section 2.2(i).

      "Special Warranty Deeds" shall have the meaning set forth in Section
2.2(a).

      "Subsidiary" means, with respect to any person, another person in which
such first person owns, directly or indirectly, an amount of shares of capital
stock or other voting securities which is sufficient to elect at least a
majority of its board of directors or other governing body (or, if there are no
such shares of capital stock or other voting securities, 50% or more of the
equity interests of such person).

      "Supplemental Operating Statement" shall have the meaning set forth in
Section 5.3.

      "Supplies" shall have the meaning given such term in Section 1.1(e).

      "T&R" shall have the meaning set forth in the preamble.

      "Taxes" means any charges, fees, levies, excises or other assessments (and
all related interest, additions to tax and penalties) imposed by any
Governmental Entity.

      "Taxing Authority" means any Governmental Entity exercising any authority
to Tax or Tax regulatory authority.

      "Terminal Assets" shall have the meaning given such term in Section
1.1(b).

      "Terminal Easements" shall have the meaning given such term in Section
1.1(b)(iii).

      "Terminal Fee Land" shall have the meaning given such term in Section
1.1(b)(i).

      "Terminal Improvements" shall have the meaning given such term in Section
1.1(b)(iv).

      "Terminal Leases" shall have the meaning given such term in Section
1.1(b)(ii).

      "Terminal Real Property" means, collectively, the Terminal Fee Land, the
Terminal Leases, the Terminal Easements and the Terminal Improvements.

      "Terminals" shall have the meaning set forth in Section 1.1(b).

      "Termination Date" shall have the meaning set forth in Section
8.1(a)(iii).

      "Test/Fix Pipelines" means, collectively, Transferor's (i) 6-inch and
8-inch pipelines from Big Spring, Texas to Abilene, Texas, (ii) 8-inch pipeline
from Abilene, Texas to Wichita Falls, Texas, and (iii) 6-inch pipeline from
Wichita Falls, Texas to Duncan, Oklahoma.

      "Third Party Claim" shall have the meaning set forth in Section 9.2(a).

      "Title Company" means Chicago Title Insurance Company.

      "Trademarks" shall have the meaning set forth in Section 1.1(i).

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       60
<PAGE>

      "Transfer" shall have the meaning set forth in Section 11.6(a)

      "Transferred Employees" shall have the meaning set forth in Section
6.1(c).

      "Transferee" shall have the meaning set forth in the preamble.

      "Transferee Ancillary Documents" means each agreement, document,
instrument or certificate to be delivered by Transferee, Newco 1 or their
affiliates at the Closing pursuant to Section 2.3 hereof and each other document
or Contract entered into by Transferee, Newco 1 or their affiliates in
connection with this Agreement or the Closing.

      "Transferee Closing Certificate" shall have the meaning given such term in
Section 7.3(c).

      "Transferee Indemnified Parties" means Transferee and each of Transferee's
affiliates including HEP Opco and after the Closing Newco 1, permitted assigns
and successors in interest.

      "Transferee Partnership Agreement" shall have the meaning set forth in
Section 3.22.

      "Transferee Parties" has the meaning set forth in the preamble.

      "Transferee Party Organizational Documents" shall have the meaning set
forth in Section 4.2.

      "Transferee Public Documents" shall have the meaning set forth in Section
4.6.

      "Transferor" and "Transferors" shall have the meaning set forth in the
preamble.

      "Transferor Indemnified Parties" means each Transferor and each
Transferor's respective affiliates, permitted assigns and successors in
interest.

      "Transferor Parties" shall have the meaning set forth in the preamble.

      "TSCA" shall have the meaning given such term in the definition of
"Hazardous Materials."

      "Uncontested Amount" shall have the meaning set forth in Section 9.3(b).

      "Unit Consideration" means 937,500 Class B Units.

      "WARN Act" means the federal Worker Adjustment and Retraining Notification
Act, as amended.

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       61
<PAGE>

                                   ARTICLE XI
                              ADDITIONAL AGREEMENTS

      11.1 ACCESS TO INFORMATION. After the Closing Date, each of the parties
shall grant to the other such access to their respective financial records and
other books and records in their possession related to the conduct of the
Operations and such cooperation and assistance as shall be reasonably required
to enable each of them to complete their legal, regulatory, stock exchange and
financial reporting requirements and to complete their Tax returns. In the event
that any such Tax return becomes the subject of any audit or investigation, each
of the parties shall give the other all reasonable cooperation, access and
assistance as needed during normal business hours with respect to such financial
data and other books and records as may be necessary to enable such first party
to defend any such audit or investigation. Each party shall, for a period of six
years after the Closing Date plus any additional time during which such party
has been advised that there is an ongoing Tax audit or investigation with
respect to such periods, keep such financial records and other books and records
reasonably accessible and not destroy or dispose of such materials without the
written consent of the other party; provided, however, that no party shall be
responsible or liable hereunder for, or as a result of, any accidental loss or
destruction of or damage to any such materials. Each party shall promptly
reimburse the other for such other party's reasonable out-of-pocket expenses
associated with requests made by such first party under this Section 11.1, but
no other charges shall be payable by the requesting party to the other party in
connection with such requests.

      11.2 PUBLIC ANNOUNCEMENTS. No party shall issue any press release or other
public announcement with respect to this Agreement or the transactions
contemplated hereby without the prior written approval of the other party,
except as may be required by such party or its affiliates under applicable Law
or stock exchange rules or regulations or mutually agreed in advance.

      11.3 CONFIDENTIALITY.

            (a) From and after the Closing:

                  (i) In respect of all confidential information that relates to
the ownership and operation of the Pipeline and Terminal Assets or the conduct
of the Operations (the "Confidential Information"), the parties hereto shall,
and shall cause their respective Representatives and affiliates thereof to,
treat all Confidential Information as confidential, preserve the confidentiality
thereof and not disclose any Confidential Information, except to their
Representatives and respective affiliates who need to know such Confidential
Information and except as is required to be disclosed by operation of applicable
Law (including pursuant to the Exchange Act or the rules of the SEC) or pursuant
to the rules of any securities exchange. Each party hereto shall use, and shall
cause each of its affiliates thereof to use, all reasonable efforts to cause
each of their respective Representatives to treat all Confidential Information
as confidential, preserve the confidentiality thereof and not disclose any
Confidential Information. If any Confidential Information is disclosed in
violation of this Section 11.3, the disclosing party shall immediately notify
the other party in writing and, as applicable, take all reasonable steps
required to prevent further disclosure.

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       62
<PAGE>

                  (ii) If either party or any of its Representatives or
affiliates is requested or required by operation of applicable Law (including
pursuant to the Exchange Act or the rules of the SEC) or pursuant to the rules
of any securities exchange to disclose any Confidential Information, such party
shall provide the other party with prompt written notice of such request or
requirement (which shall be treated as Confidential Information hereunder),
which notice shall be at least 48 hours prior to making such disclosure (or in
the case of a disclosure pursuant to the Exchange Act, the rules of the SEC or
the rules of any securities exchange, such time period (which may be shorter
than 48 hours but shall not be longer than 48 hours) as may be reasonably
possible), so that the other party hereto may seek a protective order or other
appropriate assurance of confidential treatment of the information required to
be so disclosed and/or waive compliance with the provisions of this Section
11.3.

            (b) The parties agree that on the Closing Date, the rights and
obligations of the parties under that certain confidentiality agreement dated
October 15, 2004, as amended, shall terminate, other than with respect to, and
to the extent such agreement applies to, the Excluded Assets.

      11.4 NOTICE OF CERTAIN EVENTS. After the Closing Date, each party shall
promptly notify the other party of all notices, communications, actions or
proceedings initiated by any Governmental Entity with respect to the Pipeline
and Terminal Assets that could reasonably be expected to be a basis for an
Indemnified Claim by an Indemnified Party pursuant to Section 9.1.

      11.5 FURTHER ASSURANCES. After the Closing, each party shall take such
further actions, including obtaining consents to assignment from third parties,
and execute such further documents as may be necessary or reasonably requested
by the other party in order to effectuate the intent of this Agreement and the
Ancillary Documents and to provide such other party with the intended benefits
of this Agreement and the Ancillary Documents.

      11.6 POST-CLOSING TAX COVENANTS.

            (a) Restrictions. So long as at least 1% of the Class B Units to be
issued to Newco 2 in consideration for the Contributed Assets remain outstanding
and held by Newco 2 or an affiliate of Newco 2 or at least 1% of the Common
Units as defined in the Transferee Partnership Agreement into which such Class B
Units are converted remain outstanding and held by Newco 2 or an affiliate of
Newco 2, then the Transferee agrees (i) not to sell, exchange or otherwise
dispose (collectively, a "Transfer") of any ownership interest in and to the
Contributed Assets prior to the 10 year anniversary of the Closing Date, and
(ii) not to repay prior to the 10 year anniversary of the Closing Date, the $120
million of debt issued by Transferee and its affiliates pursuant to a Rule 144A
offering, or any bridge or other alternative debt financing in lieu thereof,
prior to or contemporaneous with the Closing Date to fund the Cash Consideration
(the "Rule 144A Debt").

            (b) Exceptions to Restrictions. Notwithstanding the provisions of
Section 11.6(a), a Transfer of a Contributed Asset may occur by reason of (i) a
Transfer that constitutes a like-kind exchange under Section 1031 of the Code,
(ii) an involuntary sale pursuant to foreclosure of any mortgage secured by the
Contributed Assets or otherwise, (iii) a deed in lieu

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       63
<PAGE>

of foreclosure (provided that the Transferee may not execute any deed in lieu of
foreclosure unless the maturity of the indebtedness secured by the Contributed
Assets has occurred, whether by reason of acceleration or otherwise), (iv) a
proceeding in connection with a bankruptcy or other similar involuntary debt
reorganization of the Transferee or its affiliates, (v) an event described in
Section 1033 of the Code provided the Contributed Assets are converted into
assets qualifying under Section 1033 of the Code in the period provided
therein), (vi) a condemnation or other taking by a governmental authority or a
mandatory conveyance to a governmental authority, (vii) a transfer involving (A)
a merger or consolidation of the Transferee with or into another entity that is
treated as a partnership for tax purposes, provided such is a tax free
transaction, (B) a "Change of Control" as defined in the indenture governing the
Rule 144A Debt (the "Indenture") in which the successor entity owning the
interests in the Transferee is a partnership for tax purposes, or (C) sales of
assets in any calendar year for aggregate consideration which does not exceed $2
million, and (viii) any other Transfer that would not accelerate Transferor's
recognition of gain under Section 704(c) of the Code with respect to the
Contributed Assets.

      Likewise, a repayment of the Rule 144A Debt may occur (i) if such
repayment is made in connection with a refinancing of the Rule 144A Debt for
indebtedness in an amount not less than the then outstanding principal amount of
the Rule 144A Debt and for which Newco 2 provided the opportunity to bear the
economic risk of loss (as described in Treasury Regulation Section 1.704-2(i))
in a manner similar to that provided for in the Indemnification Agreement
entered into between Newco 2 and HEP Logistics Holdings, L.P. dated the Closing
Date, (ii) if such repayment is made after an event of default and the
acceleration thereof in accordance with the terms of the Indenture, (iii) in an
amount equal to the aggregate income or gain under Section 704(c) of the Code
that has been allocated to Newco 2 in accordance with the "remedial method" as
described in Treasury Regulation Section 1.704-3(d) pursuant to Section 1.8 of
this Agreement and Section 6.2(b)(iii) of the Transferee Partnership Agreement,
(iv) if such repayment would not accelerate Transferor's recognition of gain
under Section 704(c) of the Code with respect to the Contributed Assets, or (v)
if such full or partial repayment is made in connection with a "Change of
Control" permitted above and such full or partial repayment is funded by
indebtedness in an amount not less than the amount of such repayment and for
which Newco 2 is provided the opportunity to bear the economic risk of loss (as
described in Treasury Regulation Section 1.704-2(i)) in a manner similar to that
provided for in the above-referenced Indemnification Agreement.

                                   ARTICLE XII
                                  MISCELLANEOUS

      12.1 EXPENSES. Except as provided in Sections 1.8, 2.6 and 5.11 or as
provided by applicable Law, all costs and expenses incurred by the parties
hereto in connection with the consummation of the transactions contemplated
hereby shall be borne solely and entirely by the party which has incurred such
expenses.

      12.2 NOTICES.

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       64
<PAGE>

            (a) Any notice or other communication given under this Agreement
shall be in writing and shall be (i) delivered personally, (ii) sent by
documented overnight delivery service, (iii) sent by facsimile transmission, or
(iv) sent by first class mail, postage prepaid (certified or registered mail,
return receipt requested). Such notice shall be deemed to have been duly given
(w) on the date of the delivery, if delivered personally, (x) on the business
day after dispatch by documented overnight delivery service, if sent in such
manner, (y) on the date of facsimile transmission, if so transmitted on a
business day during normal business hours, otherwise on the next business day,
or (z) on the fifth business day after sent by first class mail, postage
prepaid, if sent in such manner. Notices or other communications shall be
directed to the following addresses:

                        Notices to any of the Alon Parties:

                                    Alon USA, Inc.
                                    7616 LBJ Freeway, Suite 300
                                    Dallas, Texas  75251
                                    Attention:  General Counsel
                                    Facsimile No.: (972) 367-3724

                        Notices to any of the Transferee Parties:

                                    Holly Energy Partners, L.P.
                                    100 Crescent Court, Suite 1600
                                    Dallas, Texas  75201-6927
                                    Attention:  General Counsel
                                    Facsimile No.: (214) 871-3523

                        with copies to:

                                    Vinson & Elkins L.L.P.
                                    3700 Trammell Crow Center
                                    2001 Ross Avenue
                                    Dallas, Texas 75201-2975
                                    Attention:  Alan J. Bogdanow
                                    Facsimile No.: (214) 999-7857

            (b) Either party may at any time change its address for service from
time to time by giving notice to the other party in accordance with this Section
12.2.

      12.3 ENTIRE AGREEMENT; AMENDMENT; WAIVER. This Agreement and the Exhibits
(including the Environmental Agreement), Annexes and Schedules attached hereto,
constitute the entire understanding between the parties with respect to the
subject matter hereof, and supersede all other understandings and negotiations
with respect thereto. This Agreement may be amended only in a writing signed by
all parties hereto. Any provision of this Agreement may be waived

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       65
<PAGE>

only in a writing signed by the party to be charged with such waiver. No course
of dealing between the parties shall be effective to amend or waive any
provision of this Agreement.

      12.4 SEVERABILITY. If any term or other provision of this Agreement is
invalid, illegal, or incapable of being enforced under applicable Law, or public
policy, all other conditions and provisions of this Agreement shall nevertheless
remain in full force and effect so long as the economic or legal substance of
the transactions contemplated herein are not affected in any manner adverse to
any party. Upon such determination that any term or other provision of this
Agreement is invalid, illegal, or incapable of being enforced, the parties
hereto shall negotiate in good faith to modify this Agreement so as to effect
the original intent of the parties as closely as possible in a mutually
acceptable manner in order that the transactions contemplated herein are
consummated as originally contemplated to the fullest extent possible.

      12.5 PARTIES IN INTEREST. This Agreement shall be binding upon and inure
solely to the benefit of each party hereto and their successors and permitted
assigns, and nothing in this Agreement, express or implied, is intended to
confer upon any other person (other than the Indemnified Parties as provided in
Article IX and subject to Section 9.9) any rights or remedies of any nature
whatsoever under or by reason of this Agreement.

      12.6 GOVERNING LAW. This Agreement shall be governed by the internal laws
of the State of Texas, without reference to its conflict of law provisions.

      12.7 ASSIGNMENT TO LENDERS; ASSIGNMENT OF AGREEMENT TO SUBSIDIARY.

            (a) At any time, either of Transferee or the Alon Parties may make a
collateral assignment of its rights under this Agreement to any of its bona fide
lenders or debt holders, or a trustee or a representative for any of them, and
the non-assigning party shall execute an acknowledgment of such collateral
assignment in such form as may from time to time be reasonably requested;
provided, however, that unless written notice is given to the non-assigning
party that any such collateral assignment has been foreclosed upon, such
non-assigning party shall be entitled to deal exclusively with Transferee or the
Alon Parties, as the case may be, as to any matters arising under this Agreement
or any of the other agreements delivered pursuant hereto (other than for
delivery of notices required by any such collateral assignment).

            (b) Notwithstanding any contrary provisions contained in this
Agreement, Transferee and the Alon Parties agree that each of Transferee and the
Alon Parties (each an "Assignor"), each in its sole discretion, may assign any
or all of its rights and obligations arising under this Agreement to one or more
of its respective Subsidiaries (such Subsidiary, an "Assignee"), provided that
no such assignment shall relieve Assignor of any obligation or liability to
Transferee or the Alon Parties, as the case may be, under this Agreement, and
provided further that the following shall apply:

                  (i) Assignor will provide Transferee or the Alon Parties, as
the case may be, with prompt written notice of any such assignment.

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       66

<PAGE>

                  (ii) No such assignment shall be effected if the making of the
assignment will result in Transferee's or the Alon Parties' inability to obtain
any Consent.

                  (iii) Assignee shall irrevocably appoint Assignor as an
authorized representative and agent authorized to act for, to bind and to
receive notices and payments on behalf of Assignee in all matters arising from
or related to this Agreement, any of the other Ancillary Documents and the
transactions contemplated hereby and thereby.

                  (iv) Irrespective of any such assignment:

                        (A) Assignor shall remain jointly and severally liable
            with respect to any Retained Liabilities, with respect to an
            assignment by Transferors, and the Assumed Liabilities, with respect
            to an assignment by Transferee, and shall remain jointly and
            severally liable with respect to any other covenant, obligation or
            liability of Assignor under this Agreement, including, without
            limitation, the payment of all sums due from such Assignor under
            this Agreement, it being understood that all such covenants,
            obligations and liabilities shall constitute the direct and primary
            obligation of Assignor; and

                        (B) Without limiting the generality of the foregoing, if
            and to the extent that applicable Law would construe the retention
            by Assignor of the direct and primary obligation to perform any and
            all obligations, liabilities or covenants assigned to or assumed by
            Assignee to be a guaranty by Assignor of Assignee's performance,
            then Assignor hereby irrevocably, absolutely and unconditionally
            guarantees the full, prompt and faithful performance by such
            Assignee of all covenants and obligations to be performed by such
            Assignee under this Agreement.

                  (v) Transferee and the Alon Parties further hereby agree that
a separate action or actions may be brought and prosecuted against any Assignor
for any such covenant, obligation or liability assigned, whether action is
brought against Assignee or whether Assignee is joined in any such action or
actions, and Transferee and the Alon Parties hereby waive any right to require
Transferee or the Alon Parties, as the case may be, to proceed against any such
Assignee.

            (c) Except as otherwise provided in Sections 12.7(a) or 12.7(b)
above, this Agreement is not assignable by either Transferee or the Alon
Parties; provided that this Section 12.7(c) shall not apply to any merger, sale
of equity interests, or change of control involving a party hereto.

      12.8 NO WAIVER RELATING TO CLAIMS FOR FRAUD. The liability of any party
under Article IX shall be in addition to, and not exclusive of, any other
liability that such party may have at law or equity based on such party's
fraudulent acts or omissions. None of the provisions set forth in this
Agreement, including but not limited to the provisions set forth in Article IX,
shall be deemed a waiver by any party to this Agreement of any right or remedy
which such party may have at law or equity based on any other party's fraudulent
acts or omissions, nor shall

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       67
<PAGE>

any such provisions limit, or be deemed to limit (a) the amounts of recovery
sought or awarded in any such claim for fraud, (b) the time period during which
a claim for fraud may be brought, or (c) the recourse which any such party may
seek against another party with respect to a claim for fraud; provided, however,
that with respect to such rights and remedies at law or equity, the parties
further acknowledge and agree that none of the provisions of this Section 12.8,
nor any reference to this Section 12.8 throughout this Agreement, shall be
deemed a waiver of any defenses which may be available in respect of actions or
claims for fraud, including but not limited to, defenses of statutes of
limitations or limitations of damages.

      12.9 DISPUTE RESOLUTION - GENERAL.

            (a) Except for an Indemnification Dispute which shall be governed by
Section 9.4 hereof, if any dispute or controversy, including a failure of the
parties to agree on an independent accountant or appraisal pursuant to Section
1.8 hereof, arises out of this Agreement or any of the Ancillary Documents or
the performance, breach, validity, interpretation or enforcement thereof (such
dispute or controversy, a "General Dispute"), it is in the best interests of the
parties for such General Dispute to be resolved in the shortest time and with
the lowest cost of resolution practicable. Consequently, the parties shall
resolve any General Dispute without resort to the courts. If any General Dispute
arises, the parties will comply with the following procedures:

                  (i) The party believing a General Dispute to exist will give
the other party prompt written notice thereof, setting forth in reasonable
detail the facts alleged to give rise to such General Dispute, any relevant
contractual provisions, the nature of any claimed default or breach and a
statement of the manner in which such party believes the General Dispute should
be resolved.

                  (ii) Within 20 days after receipt of such notice, the party
against whom relief is sought in connection with such General Dispute will
deliver a written response, setting forth in reasonable detail its views of the
facts alleged to give rise to such General Dispute, any relevant contractual
provisions, the nature of the claimed default or breach and a statement of the
manner in which such party believes the General Dispute should be resolved.

                  (iii) If the parties do not agree on the manner in which the
General Dispute should be resolved, they will arrange to hold a meeting within
10 days after delivery of the response. Each party will have in attendance at
such meeting a representative with the authority to resolve such General
Dispute. At the meeting (and any adjournments thereof), the parties will
negotiate in an attempt to agree as to whether a General Dispute exists, the
exact nature of the General Dispute and the manner in which the General Dispute
should be resolved. If deemed appropriate by the parties, a professional
mediator may be engaged to assist in resolving the General Dispute. Any
resolution of the General Dispute will be evidenced by a written agreement
setting forth in reasonable detail the actions to be taken by each party. If no
such written agreement is reached within 20 days after the first meeting (the
"General Dispute Negotiation Period"), the parties may pursue binding
arbitration with respect to such General Dispute pursuant to Section 12.9(b).

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       68
<PAGE>

            (b) Mandatory Binding Arbitration.

                  (i) If any General Dispute is unresolved by the end of the
General Dispute Negotiation Period, a binding arbitration will be held in
Dallas, Texas, upon notice by either party (the "General Arbitration Notice").
Subject to the provisions of this Section 12.9(b), the parties will agree upon
the rules of the arbitration prior to the arbitration based upon the nature of
the disagreement. To the extent that the parties cannot agree on the rules of
the arbitration, the Commercial Arbitration Rules of the AAA will apply, and the
arbitration will be conducted on a confidential basis strictly in accordance
with the terms of this Agreement and the governing law of the State of Texas as
specified under Section 12.6.

                  (ii) The arbitration shall be conducted before a panel of
three independent and impartial arbitrators. Each party will be entitled to
select one arbitrator within 20 days of the date of the General Dispute
Arbitration Notice. If a party fails to select an arbitrator within such 20 day
period, the Dallas, Texas office of the AAA shall appoint an arbitrator for such
party. The two individuals so selected will then select the third arbitrator
within 20 days. If the two individuals selected fail to select a third
arbitrator within such 20 day period, the Dallas office of the AAA shall appoint
a third arbitrator. The panel of arbitrators will be selected no later than 45
days after the date of the General Dispute Arbitration Notice. Each member of
the arbitration panel, if possible, must be experienced in legal and operational
matters related to refined petroleum product pipelines.

                  (iii) The arbitrators' decision will be considered as a final
and binding resolution of the General Dispute and will not be subject to appeal.
THE PARTIES HEREBY ACKNOWLEDGE AND AGREE THAT THE UNITED STATES DISTRICT COURT
FOR THE NORTHERN DISTRICT OF TEXAS SHALL HAVE EXCLUSIVE JURISDICTION OVER THE
PARTIES. FURTHER, THE PARTIES HEREBY ACKNOWLEDGE AND AGREE THAT ANY DECISION BY
AN ARBITRATOR SHALL BE ONLY ENTERED AS AN ORDER IN THE UNITED STATES DISTRICT
COURT FOR THE NORTHERN DISTRICT OF TEXAS. No party will sue the other except for
enforcement of the arbitrator's decision if the other party is not performing in
accordance with the arbitrator's decision.

                  (iv) The parties shall bear equally the fees and expenses of
the arbitration, unless the arbitrators decide otherwise. Each party will bear
the costs of its own counsel, witnesses (if any) and employees, unless the
arbitrators decide otherwise.

      12.10 CAPTIONS. The captions in this Agreement are for purposes of
reference only and shall not limit or otherwise affect the interpretation
hereof.

      12.11 COUNTERPARTS. This Agreement may be executed in two or more
counterparts, each of which shall be deemed an original, but all of which
together shall constitute one and the same instrument.

      12.12 DIRECTOR AND OFFICER LIABILITY. Except to the extent that they are a
party hereto, the directors, managers, officers, partners and stockholders of
Transferee, the Alon Parties and

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       69
<PAGE>

their respective affiliates shall not have any personal liability or obligation
arising under this Agreement (including any claims that another party may
assert) other than as an assignee of this agreement or pursuant to a written
guarantee.

      12.13 SPECIFIC PERFORMANCE. The parties recognize that in the event
Transferors should refuse to perform under the provisions of this Agreement,
monetary damages alone will not be adequate. Transferee shall therefore be
entitled, in addition to any other remedies which may be available, including
money damages, to obtain specific performance of the terms of this Agreement. In
the event of any action to enforce this Agreement specifically, Transferors
hereby waive the defense that there is an adequate remedy at law.

               [THE REMAINDER OF THIS PAGE IS INTENTIONALLY BLANK]

                          HOLLY ENERGY PARTNERS, L.P.
                             CONTRIBUTION AGREEMENT

                                       70
<PAGE>

      IN WITNESS WHEREOF, the parties have executed this Agreement as of the
date first set forth above.

                                     HOLLY ENERGY PARTNERS, L.P.

                                     By: HEP LOGISTICS HOLDINGS, L.P.
                                         its General Partner

                                         By: HOLLY LOGISTIC SERVICES, L.L.C.
                                             its General Partner

                                             By: /s/ Matthew P. Clifton
                                                 ------------------------------
                                                 Matthew P. Clifton
                                                 Chairman of the Board and
                                                 Chief Executive Officer

                                     HOLLY ENERGY PARTNERS -- OPERATING, L.P.

                                     By: HOLLY ENERGY PARTNERS, L.P.
                                         its General Partner

                                         By: HEP LOGISTICS HOLDINGS, L.P.
                                             its General Partner

                                             By: HOLLY LOGISTIC SERVICES, L.L.C.
                                                 its General Partner

                                                 By: /s/ Matthew P. Clifton
                                                    ----------------------------
                                                   Matthew P. Clifton
                                                   Chairman of the Board and
                                                   Chief Executive Officer

                                     T&R ASSETS, INC.

                                     By: /s/ Jeff D. Morris
                                         --------------------------------------
                                         Jeff D. Morris
                                         President and Chief Executive Officer

                                       L-1
<PAGE>

                                     FIN-TEX PIPE LINE COMPANY

                                     By: /s/ Jeff D. Morris
                                         --------------------------------------
                                         Jeff D. Morris
                                         President and Chief Executive Officer

                                     ALON USA REFINING, INC.

                                     By: /s/ Jeff D. Morris
                                         --------------------------------------
                                         Jeff D. Morris
                                         President and Chief Executive Officer

                                     ALON PIPELINE ASSETS, LLC

                                     By: /s/ Jeff D. Morris
                                         --------------------------------------
                                         Jeff D. Morris
                                         President and Chief Executive Officer

                                     ALON PIPELINE LOGISTICS, LLC

                                     By: /s/ David Wiessman
                                         -------------------------------------
                                         David Wiessman
                                         President

                                     ALON USA, INC.

                                     By: /s/ Jeff D. Morris
                                         --------------------------------------
                                         Jeff D. Morris
                                         President and Chief Executive Officer

                                       L-2
<PAGE>

                                     ALON USA, LP

                                     By: ALON USA, GP, LLC, a Delaware limited
                                         liability company, its General partner

                                         By: /s/ Jeff D. Morris
                                            -----------------------------------
                                            Jeff D. Morris

                                      L-3<PAGE>

                                                                    EXHIBIT 10.8

                                                               EXECUTION VERSION

================================================================================

                       PIPELINES AND TERMINALS AGREEMENT

                                  BY AND AMONG

                                 ALON USA, LP,
                          A TEXAS LIMITED PARTNERSHIP

                                      AND

                          HOLLY ENERGY PARTNERS, L.P.,
                         A DELAWARE LIMITED PARTNERSHIP

================================================================================

                            DATED: FEBRUARY 28, 2005

<PAGE>

                                TABLE OF CONTENTS

<Table>
<Caption>
                                                                                                             Page
                                                                                                             ----
<S>               <C>                                                                                        <C>
SECTION 1.        DEFINITIONS..................................................................................1
SECTION 2.        THROUGHPUT AND STORAGE COMMITMENT............................................................7
SECTION 3.        TARIFFS, FEES AND SURCHARGES.................................................................9
SECTION 4.        BILLING.....................................................................................12
SECTION 5.        TAXES.......................................................................................12
SECTION 6.        TRANSPORTATION AND DELIVERY OF PRODUCT......................................................13
SECTION 7.        PRODUCT QUALITY STANDARDS AND REQUIREMENTS..................................................16
SECTION 8.        PRODUCT MEASUREMENTS; INVENTORY REPORTS; AUDIT RIGHTS.......................................17
SECTION 9.        TITLE TO PRODUCT AND PRODUCT LOSSES.........................................................18
SECTION 10.       EXCEPTIONS TO OBLIGATIONS...................................................................18
SECTION 11.       AGREEMENT TO REMAIN SHIPPER.................................................................21
SECTION 12.       AGREEMENT NOT TO CHALLENGE TARIFFS OR TERMINAL CHARGES; GOVERNMENTAL ACTIONS................21
SECTION 13.       TERM AND RENEWAL; RIGHT TO ENTER NEW AGREEMENT..............................................22
SECTION 14.       CONSTRUCTION OF UPGRADES; EXPANSION OF PIPELINE.............................................22
SECTION 15.       CONTRACT QUARTER ADJUSTMENTS................................................................24
SECTION 16.       EVENTS OF DEFAULT...........................................................................26
SECTION 17.       REMEDIES....................................................................................27
SECTION 18.       ALON RIGHT OF FIRST REFUSAL.................................................................30
SECTION 19.       INSURANCE; INDEMNIFICATION..................................................................31
SECTION 20.       NOTICES.....................................................................................32
SECTION 21.       MISCELLANEOUS...............................................................................33
</Table>

EXHIBITS

Exhibit A         -  Refined Product Pipelines
Exhibit B         -  Refined Product Terminals
Exhibit C         -  Terminals Fee Schedule
Exhibit D         -  Interstate Tariff (Rates, Rules and Regulations)
Exhibit E         -  Intrastate Tariff (Rates, Rules and Regulations (Public))
Exhibit F         -  Intentionally Omitted
Exhibit G         -  Intrastate Tariff (Rates, Rules and Regulations (Private))
Exhibit H         -  Insurance
Exhibit I         -  Schedule of Settlement Procedures
Exhibit J         -  Access Agreement

                                      -i-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

                        PIPELINES AND TERMINALS AGREEMENT

         This Pipelines and Terminals Agreement (this "Agreement") is dated as
of February 28, 2005, by and among ALON USA, LP, a Texas limited partnership and
Holly Energy Partners, L.P., a Delaware limited partnership.

                                    RECITALS:

         Pursuant to that certain Contribution Agreement dated as of January 25,
2005 (the "Contribution Agreement") by and among HEP, Holly Energy
Partners-Operating, L.P., a Delaware limited partnership, T&R Assets, Inc., a
Texas corporation, Fin-Tex Pipeline Company, a Texas corporation, and ALON USA
Refining, Inc., a Delaware corporation (together with T&R Assets, Inc. and
Fin-Tex Pipeline Company, "Transferors"), and ALON Pipeline Logistics, LLC, a
Delaware limited liability company, ALON USA, INC., a Delaware corporation,
ALON, and ALON Pipeline Assets, LLC, a Texas limited liability company, and an
Affiliate of ALON ("Newco1"), Transferors have agreed to contribute to HEP,
through Newco1, and HEP has agreed to acquire, certain pipelines and terminals
which historically have been utilized by ALON to transport and terminal Refined
Products.

         ALON desires to continue to transport and terminal Refined Products in
the Transferred Assets and HEP desires to provide transportation and
terminalling services to ALON, all on the terms set forth in this Agreement.

         NOW, THEREFORE, in consideration of the mutual obligations, covenants
and conditions contained herein, the parties to this Agreement hereby agree as
follows:

         SECTION 1. DEFINITIONS

         (a) As used herein, the following terms shall have the meaning
specified below:

         "Abilene Pipeline" has the meaning set forth in Section 2(b)(ii).

         "Activity Notice" has the meaning set forth in Section 15(a).

         "Affiliate" means, with respect to any Person, any other Person that
directly or indirectly through one or more intermediaries Controls, is
Controlled by or is under common Control with, the Person in question.

         "ALON" means ALON USA, LP, a Texas limited partnership.

         "ALON Events of Default" has the meaning set forth in Section 16(b).

         "ALON Indemnified Parties" has the meaning set forth in Section 19(c).

         "Ancillary Documents" has the meaning set forth in the Contribution
Agreement.

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         "Applicable Law" means any applicable statute, law, regulation,
ordinance, rule, judgment, rule of law, order, decree, permit, approval,
concession, grant, franchise, license, agreement, requirement, or other
governmental restriction or any similar form of decision of, or any provision or
condition of any permit, license or other operating authorization issued under
any of the foregoing by, or any determination by any Governmental Authority
having or asserting jurisdiction over the matter or matters in question, whether
now or hereafter in effect and in each case as amended (including, without
limitation, all of the terms and provisions of the common law of such
Governmental Authority), as interpreted and enforced at the time in question.

         "Arbitrable Dispute" means any and all disputes, Claims, controversies
and other matters in question between ALON, on the one hand, and HEP, on the
other hand, arising out of or relating to this Agreement or the alleged breach
hereof, or in any way relating to the subject matter of this Agreement
regardless of whether (a) allegedly extra-contractual in nature, (b) sounding in
contract, tort or otherwise, (c) provided for by Applicable Law or otherwise or
(d) seeking damages or any other relief, whether at law, in equity or otherwise.

         "bpd" means barrels per day.

         "Capital Amortization Period" has the meaning set forth in Section
14(a)(iv).

         "Capital Improvement" means (a) any modification, improvement,
expansion or increase in the capacity of the Refined Product Pipelines or
Refined Product Terminals or any portion thereof, or (b) any connection, or new
point of receipt or delivery for Refined Products, including any terminals,
lateral pipelines or extensions of Refined Products Pipelines.

         "Claim" means any existing or threatened future claim, demand, suit,
action, investigation, proceeding, governmental action or cause of action of any
kind or character (in each case, whether civil, criminal, investigative or
administrative), known or unknown, under any theory, including those based on
theories of contract, tort, statutory liability, strict liability, employer
liability, premises liability, products liability, breach of warranty or
malpractice.

         "Claimant" has the meaning set forth in Section 21(g).

         "Chevron Segment" means the approximately 38-mile, 6-inch pipeline from
Coahoma Station to Midland, Texas, leased by ALON.

         "Common Carrier Requirements" means duties relating to the provision of
shipping rights and prorationing which are required under Applicable Law with
respect to any Refined Product Pipeline.

         "Construction Capital Expenditure" has the meaning set forth in Section
14(a)(iii).

         "Contract Quarter" means a three-month period that commences on January
1, April 1, July 1, or October 1, and ends on March 31 June 30, September 30, or
December 31, respectively, except that the initial Contract Quarter shall
commence on the Effective Date.

                                      -2-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         "Contract Year" means a year that commences on January 1 and ends on
the last day of December, except that the initial Contract Year shall commence
on the Effective Date.

         "Contribution Agreement" has the meaning set forth in the first
recital.

         "Control" (including with correlative meaning, the term "Controlled
by") means, as used with respect to any Person, the possession, direct or
indirect, of the power to direct or cause the direction of the management and
policies of such Person, whether through the ownership of voting securities, by
contract or otherwise.

         "Control Center" has the meaning set forth in Section 6(a)(ix).

         "Controlled Affiliates" means with respect to any Person, any other
Person that directly or indirectly through one or more intermediaries is
Controlled by such Person.

         "Deficiency Payment" has the meaning set forth in Section 15(a)(v).

         "Deficient Volumes" has the meaning set forth in Section 15(a)(i).

         "Disputed Amount" has the meaning set forth in Section 15(a)(v).

         "Due Date" has the meaning set forth in Section 4(b).

         "Dyess Pipeline" Section 2(b)(ii).

         "Effective Date" means the date of the closing of the Contribution
Agreement.

         "Escrow Agent" has the meaning set forth in Section 15(a)(v).

         "Excess Volumes" has the meaning set forth in Section 15(a)(i).

         "Exercise Period" has the meaning set forth in Section 18(b).

         "Extended HEP Cure Period" has the meaning set forth in Section
16(a)(ii).

         "Fin-Tex Pipeline" has the meaning set forth in Section 2(b)(ii).

         "Force Majeure" means acts of God, strikes, lockouts or other
industrial disturbances, acts of the public enemy, wars, blockades,
insurrections, riots, storms, floods, washouts, arrests, the order of any court
or Governmental Authority having jurisdiction while the same is in force and
effect, civil disturbances, explosions, breakage, accident to machinery, storage
tanks, terminals, or lines of pipe, inability to obtain or unavoidable delay in
obtaining material or equipment, and any other causes, whether of the kind
herein specifically enumerated or otherwise, which is not reasonably within the
control of the party claiming suspension and which by the exercise of due
diligence such party is unable to prevent or overcome. For avoidance of doubt,
the unavailability of any segment of a Refined Product Pipeline leased by ALON
or its

                                      -3-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

Affiliates that is due to the termination, expiration or nonrenewal of such
lease shall not be included within the meaning of Force Majeure.

         "Governmental Authority" means any federal, state, local or foreign
government or any provincial, departmental or other political subdivision
thereof, or any entity, body or authority exercising executive, legislative,
judicial, regulatory, administrative or other governmental functions or any
court, department, commission, board, bureau, agency, instrumentality or
administrative body of any of the foregoing.

         "HEP" means Holly Energy Partners, L.P., a Delaware limited
partnership, and its operating affiliates.

         "HEP Events of Default" has the meaning set forth in Section 16(a).

         "HEP Indemnified Parties" has the meaning set forth in Section 19(b).

         "Incentive Adjustment" has the meaning set forth in Section 15(a)(vi).

         "Incentive Amount" means $22,891,000, subject to adjustment pursuant to
Section 3(b).

         "Incentive Revenues" has the meaning set forth in Section 3(b).

         "Initial HEP Cure Period" Section 16(a)(ii).

         "Initial Term" has the meaning set forth in Section 13(a).

         "Intervention Period" has the meaning set forth in Section 17(c).

         "Losses" has the meaning set forth in Section 19(b).

         "Maintenance Activities" has the meaning set forth in Section 10(c).

         "Maintenance Standards" has the meaning set forth in Section 6(a)(vii).

         "Minimum Volume Commitment" has the meaning set forth in Section
2(a)(i).

         "Minimum Volumes Revenue" has the meaning set forth in Section
15(a)(iii).

         "Monthly Capital Construction Amount" has the meaning set forth in
Section 14(a)(iv).

         "Monthly Services Charge" has the meaning set forth in Section 3(f).

         "Navajo Pipeline Lease" means that certain Pipeline Lease Agreement
dated February 21, 1997 between Navajo Pipeline Company and ALON (as successor
in interest to American Petrofina Pipe Line Company).

         "Net Excess Revenues" has the meaning set forth in Section 15(d).

                                      -4-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         "Newco1" has the meaning set forth in the first recital.

         "Objection Notice" has the meaning set forth in Section 15(a)(v).

         "Operations" has the meaning set forth in Section 18(b).

         "Other Products" means heating oil, distillates, transmix, liquified
petroleum gas, natural gas liquids, blend stocks, crude oil and any other
hydrocarbons which may hereafter be transported or stored in the Transferred
Assets.

         "PPI" means the inflationary adjustment index utilized by the Federal
Energy Regulatory Commission from time to time, which currently is the Producer
Price Index for Finished Goods, seasonally adjusted, as published by the
Department of Labor.

         "Person" means an individual or a corporation, limited liability
company, partnership, joint venture, trust, unincorporated organization,
association, Governmental Authority or political subdivision thereof or other
entity.

         "Pipeline Easements" has the meaning set forth in Section 6(a)(x).

         "Prime Rate" means a rate per annum equal to the sum of (i) 3% plus
(ii) the prime rate per annum announced by Union Bank of California, N.A., or if
Union Bank of California, N.A. no longer announces a prime rate for any reason,
the prime rate per annum announced by the largest U.S. bank measured by deposits
from time to time as its base rate on corporate loans, automatically fluctuating
upward or downward with each announcement of such prime rate.

         "Private Tariff" means each of the tariffs on Exhibits D, E, or G which
is not designated as a "Public Tariff".

         "Proposed Terms" has the meaning set forth in Section 18(b).

         "Public Tariff" means each of the tariffs listed on Exhibits D, E, or G
which is designated as a "Public Tariff" and each other tariff which may
hereafter be filed publicly with respect to a Refined Product Pipeline in
accordance with the terms of this Agreement.

         "Quarterly Minimum Volume" has the meaning set forth in Section
15(a)(i).

         "Refined Products" means gasolines, diesel fuel, jet fuel and kerosene.

         "Refined Product Pipelines" means the pipelines described on Exhibit A
attached hereto.

         "Refined Product Terminals" means the terminals and tank farm described
on Exhibit B attached hereto.

         "Refinery" means the refining facilities owned and operated by ALON and
its Affiliates in Big Spring, Texas.

                                      -5-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         "Renewal Terms" has the meaning set forth in Section 13(b).

         "Respondent" has the meaning set forth in Section 21(g).

         "River Pipeline" has the meaning set forth in Section 2(b)(ii).

         "Services Agreement" has the meaning given to such term in the
Contribution Agreement.

         "Statement" has the meaning set forth in Section 4(a).

         "Third Party Sale Period" has the meaning set forth in Section 18(b).

         "Total Activity" has the meaning set forth in Section 15(a)(i).

         "Total Deficient Revenues" has the meaning set forth in Section
15(a)(v).

         "Total Excess Revenues" has the meaning set forth in Section 15(a)(v).

         "Total Volumes" has the meaning set forth in Section 15(a)(i).

         "Total Revenues" has the meaning set forth in Section 15(a)(i).

         "Transaction Notice" has the meaning set forth in Section 18(b).

         "Transfer" including the correlative term "Transferring" or
"Transferred" means any direct or indirect transfer, assignment, sale, gift,
pledge, hypothecation or other encumbrance, or any other disposition (whether
voluntary, involuntary or by merger, operation of law, or sale of equity
interests) of all or any portion of the Refined Product Pipelines and the
Refined Product Terminals (including any Capital Improvement).

         "Transferred Assets" has the meaning set forth in Section 2(a)(iii).

         "Transferors" has the meaning set forth in the first recital.

         "Wichita Falls Pipeline" has the meaning set forth in Section 2(b)(ii).

         (b) Other Terms. If other terms are defined elsewhere in the text of
this Agreement, such terms shall have the meaning so indicated.

         (c) Interpretation. Unless the context of this Agreement clearly
requires otherwise, (i) the references to the plural include the singular, the
singular the plural, the part the whole, (ii) "or" has the inclusive meaning
frequently identified with the phrase "and/or", (iii) "including" has the
meaning frequently identified with the phrase "but not limited to", (iv)
references to "hereunder" or "herein" relate to this Agreement, and (v)
references to "Dollars" or "$" refer to U.S. dollars. Section, Schedule and
Exhibit references are to this Agreement unless otherwise specified.

                                      -6-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         SECTION 2. THROUGHPUT AND STORAGE COMMITMENT.

         (a) Minimum Volume Commitment. During the term of this Agreement and
subject to the terms and conditions of this Agreement (including, without
limitation, Section 10 hereof), ALON agrees as follows:

                  (i) Commencing on the Effective Date, ALON will transport on
         the Refined Product Pipelines and terminal in the Refined Product
         Terminals volumes of Refined Products equal to or greater than the
         minimum volumes per day specified for each Refined Product Pipeline and
         Refined Product Terminal on Exhibits A and B hereto (collectively, the
         "Minimum Volume Commitment").

                  (ii) Without prejudice to any other remedy available to ALON,
         if for any period of time ALON is unable to transport on the Refined
         Product Pipelines or terminal in the Refined Product Terminals the
         volumes of Refined Products which are required to meet the Minimum
         Volume Commitment and for which ALON is ready, willing and able to
         transport or terminal, whether such inability is due to HEP's
         operational difficulties, prorationing, difficulties with pipeline
         connections, or otherwise, then the Minimum Volume Commitment will be
         reduced for such period of time by the volume of Refined Products that
         ALON is unable to transport on the Refined Product Pipelines or
         terminal in the Refined Product Terminals as reasonably determined and
         communicated by ALON to HEP in writing from time to time during such
         period.

                  (iii) The parties acknowledge and agree that all volumes of
         Refined Products and Other Products transported or stored in the
         Refined Product Pipelines, the Refined Product Terminals and/or the
         related assets transferred to HEP pursuant to the Contribution
         Agreement (the "Transferred Assets"), whether transported or stored for
         or on behalf of ALON or any other party, shall apply toward
         satisfaction of the Minimum Volume Commitment.

                  (iv) The Minimum Volume Commitment shall not be reduced and
         ALON shall be responsible for providing alternative transportation, at
         ALON's sole cost and expense, should the Chevron Segment be unavailable
         due to the termination, expiration, or nonrenewal of the lease.

                  (v) Minimum Volume Adjustments. If for any reason ALON shall
         not utilize a Refined Product Pipeline or a Refined Product Terminal
         for a period of 60 consecutive days and the Minimum Volume Commitment
         applicable to such Refined Product Pipeline or Refined Product Terminal
         shall not otherwise be excused pursuant to this Agreement with respect
         thereto, then from and after such 60th day (and only during such
         non-utilization), the minimum volume commitment then applicable to such
         Refined Product Pipeline or Refined Product Terminal shall be
         discounted by the rate set forth for such pipeline or terminal in the
         column labeled "Section 2(a)(v) 60 Day Discount Rate" on Exhibit A. At
         such time as the Refined Product Pipeline or Refined Product Terminal
         is returned to use, then the discount rate shall no longer apply. In
         the event the period of

                                      -7-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         non-utilization described in the foregoing sentence shall exceed 180
         days or if ALON shall notify HEP that such non-utilization shall be
         permanent and such non-utilization is not otherwise excused pursuant to
         this Agreement, then, from and after such 180th day or from and after
         such notice, whichever is earlier (and only during such
         non-utilization), the minimum volume commitment then applicable to such
         Refined Product Pipeline or Refined Product Terminal (without giving
         effect to any discount pursuant to the foregoing sentence) shall be
         discounted by the rate set forth for such pipeline or terminal in the
         column labeled "Section 2(a)(v) 180 Day Discount Rate" on Exhibit A. At
         such time as the Refined Product Pipeline or Refined Product Terminal
         is returned to use, then the discount rate shall no longer apply.

         (b) Obligations of HEP.

                  (i) During the term of this Agreement and subject to the terms
         and conditions of this Agreement, HEP agrees to own or lease, operate
         and maintain the assets necessary to receive the Refined Products from
         ALON and to provide the services required under this Agreement.
         Notwithstanding the preceding sentence, subject to Section 17(c),
         Section 17(d), Section 18, and Section 21(c) of this Agreement and
         Section 11.6 of the Contribution Agreement, HEP is free (A) to sell any
         of its assets, including assets that provide services under this
         Agreement, (B) to merge with another entity (whether or not HEP is the
         surviving entity in such merger) or (C) to sell all of its assets or
         all of its equity to another entity at any time.

                  (ii) At the request of ALON and subject in each case to Common
         Carrier Requirements and to Section 10 of this Agreement, HEP agrees to
         transport by pipeline for ALON each month during the term of this
         Agreement: (A) up to 20,000 bpd of Refined Products on the 6" line from
         Big Spring to Abilene (the "Abilene Pipeline"), (B) up to 25,000 bpd of
         Refined Products on the 8" line from Midland to Orla (the "Fin-Tex
         Pipeline"), (C) up to 23,000 bpd of Refined Products on the 8" line
         from Big Spring to Wichita Falls (the "Wichita Falls Pipeline"), (D) up
         to 21,000 bpd of Refined Products on the 6" line from Wichita Falls to
         Duncan, OK (the "River Pipeline"), and (E) up to 53,000 bpd of Refined
         Products on the 8" line from Abilene to Dyess Air Force Base (the
         "Dyess Pipeline"). ALON represents that as of the Effective Date, the
         respective lines set forth above have the capacity to transport the
         volumes set forth above.

                  (iii) HEP agrees to provide terminalling services for all ALON
         volumes of Refined Products transported to the Refined Product
         Terminals.

         To the extent that ALON is entitled to an exception under Section 10(a)
         or Section 10(b) of this Agreement to its obligations under Section
         2(a) of this Agreement, the corresponding obligations of HEP under this
         Section 2(b) will be proportionately reduced.

         (c) Ancillary Services. HEP will provide ancillary services to ALON
with respect to the Refined Product Pipelines and Refined Product Terminals,
including batch tracking, truck

                                      -8-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

rack blending, tank sampling, truck sampling, tank-to-tank transfers,
information reporting, customer support services, monitoring and storing
additives and such other services requested by ALON that (i) reasonably relate
to ALON's Refined Products and activities at the Refined Product Pipelines and
the Refined Product Terminals, (ii) are not materially inconsistent with the
scope and nature of ancillary services customarily provided by operators of
Refined Product pipelines and terminals, and (iii) do not impose a material
burden on HEP; provided, however, that irrespective of the foregoing clauses (i)
through (iii), HEP shall in any event provide to ALON such ancillary services as
HEP provides from time to time to Holly Corporation without additional charge
under that certain Pipelines and Terminals Agreement dated July 13, 2004 (as may
be amended from time to time). The fees for such ancillary services are included
in the fees provided for in Section 3. All fuel additives, dyes, de-icers and
other additives requested to be added to ALON's Refined Products will be
provided by ALON at no cost to HEP. If any additional ancillary services are
requested by ALON that are different in kind, scope or frequency from the
services set forth above, then HEP and ALON shall negotiate in good faith to
determine the appropriate rates to be charged for such ancillary services and
the capital costs, if any, that HEP may reasonably incur to address such new
requirements. Each party shall be responsible for maintaining the integrity of
its operations and the quality of its products so as to not cause additional
operating costs related to ancillary services to be incurred by the other party.

         SECTION 3. TARIFFS, FEES AND SURCHARGES.

         (a) Tariffs.

                  (i) The rules and regulations applicable to (A) interstate
         service on the Refined Product Pipelines shall be as set forth in the
         pro forma rules and regulations tariffs attached hereto as Exhibit D,
         and (B) intrastate service (public line) and intrastate service
         (private line) on the Refined Product Pipelines shall be as set forth
         in the pro forma rules and regulations tariffs attached hereto as
         Exhibit E and Exhibit G, respectively; provided that, as between HEP
         and ALON, the parties agree in the case of any conflict between the
         terms of this Agreement and the rules and regulations tariffs, the
         terms of this Agreement shall control. The initial tariff rates for
         interstate service on the Refined Product Pipelines shall be as set
         forth in the pro forma tariffs attached hereto as Exhibit D and the
         initial tariff rates for intrastate services (public line) and
         intrastate service (private line) shall be as set forth in the pro
         forma tariffs attached hereto as Exhibit E and Exhibit G, respectively.
         In the event that any Governmental Authority having jurisdiction over
         HEP or the Refined Product Pipelines takes any action under Applicable
         Law which requires the tariff rates set forth in Exhibits D, E and G to
         be decreased, then the Minimum Volume Commitment shall be
         proportionately adjusted in such a manner as may be necessary to take
         into account the economic benefits and obligations that would have
         otherwise been realized and borne by the parties had there not been a
         decrease in the tariff rates. If HEP and ALON are unable to agree, such
         proportionate adjustments will be determined by binding arbitration in
         accordance with Section 21(g) of this Agreement.

                                      -9-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

                  (ii) Subject to Common Carrier Requirements and the annual
         adjustments contemplated by this Section 3(a)(ii), no tariff rates or
         incentive tariff rates set forth in Exhibits D, E or G shall be amended
         or modified and no new tariff shall be filed by HEP with respect to the
         Refined Product Pipelines, in each case, without the prior written
         consent of ALON. The initial tariff rates and incentive tariff rates
         set forth in Exhibits D, E and G (without consideration of any previous
         adjustment pursuant to this Section 3(a)) shall be adjusted on March 1
         of each Contract Year commencing on or after January 1, 2006, by an
         amount equal to the percentage change, if any, in the PPI from the
         month of December 2004 to the month of December immediately preceding
         such Contract Year, but in no event shall such adjustment ever lower
         the tariff rates below the initial tariff rates. HEP will deliver a
         copy of the Public Tariffs and the Private Tariffs, if any, to ALON
         setting forth the adjusted tariff rates and incentive tariff rates. If
         the PPI index is no longer published, ALON and HEP shall negotiate in
         good faith to agree on a new index that is recognized in the refined
         product pipeline and terminal industry or which otherwise gives
         comparable protection against inflation or deflation in such industry
         and the same method of adjustment for increases or decreases in the new
         index shall be used to calculate increases or decreases in the tariff
         rates. If ALON and HEP are unable to agree, a new index will be
         determined by binding arbitration in accordance with Section 21(g) of
         this Agreement, and the same method of adjustment for increases or
         decreases in the new index shall be used to calculate increases or
         decreases in the tariff rates.

                  (iii) The applicable fees, tariff rates and other charges
         provided for in this Agreement will become effective as of the date of
         this Agreement, or in the case of Public Tariff rates relating to the
         Refined Product Pipelines, as soon thereafter as those rates become
         effective. HEP will use commercially reasonable efforts to obtain the
         necessary regulatory approvals for the Public Tariff rates set forth in
         Exhibit D and Exhibit E to become effective on the date of this
         Agreement or as soon as possible thereafter.

         (b) Incentive Tariffs. The incentive tariff rates applicable to the
Refined Product Pipelines shall initially be as set forth in Exhibits D, E and
G. The incentive tariff rates will be adjusted each Contract Year as provided in
Section 3(a)(ii). In consideration of ALON's commitments set forth in Section 2,
ALON shall be entitled to the incentive tariff rates for transportation of
Refined Products on the Refined Product Pipelines pursuant to this Agreement.
Notwithstanding the foregoing, ALON hereby waives any claim to the incentive 2
tariff rates until the aggregate revenues (not including any surcharges, charges
or tariff increases pursuant to Section 3(d), Section 3(e) and Section 3(f), and
any Monthly Capital Construction Amount pursuant to Section 14(a)(iv)) generated
by the transportation and storage of Refined Products or Other Products on the
Transferred Assets by ALON (including transportation and storage by ALON on
behalf of third parties where ALON is the shipper of record) exceed the
Incentive Amount in any Contract Year (such excess being the "Incentive
Revenues"). At such time as ALON has satisfied the Incentive Revenues
requirement, then ALON will be entitled to receive the incentive 2 tariff rates
applicable during such Contract Year for volumes of Refined Products or Other
Products transported by ALON (including transportation by ALON on behalf of
third parties where ALON is the shipper of record) on each Refined Product
Pipeline during such

                                      -10-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

Contract Year in excess of the incentive volume requirement for such Refined
Product Pipeline for such Contract Year (which Contract Year incentive volume
requirement shall equal the per day incentive volume requirement as set forth in
Exhibit A multiplied by the actual number of days in such Contract Year).
Settlement of any amounts due to ALON with respect to incentive 2 tariff rates
shall be calculated as soon as practicable following the end of each Contract
Year and shall be set forth in the Activity Notice for the fourth Contract
Quarter in such Calendar Year, with actual settlement made pursuant to Section
15(a)(vi). The Incentive Amount (without consideration of any previous
adjustment pursuant to this Section 3(b) shall be adjusted on March 1 of each
Contract Year commencing on or after January 1, 2006, by an amount equal to the
percentage change, if any, in the PPI from the month of December 2004 to the
month of December immediately preceding such Contract Year.

         (c) Terminal Fees. The initial service fees (as well as the method for
subsequent adjustments in such fees) for terminalling the Refined Products in
the Refined Product Terminals are set forth on the fee schedule attached hereto
as Exhibit C.

         (d) New Laws Monthly Surcharge. If new laws or regulations are enacted
that require HEP to make substantial and unanticipated capital expenditures with
respect to one or more Refined Product Terminals, HEP may impose a monthly
surcharge to cover ALON's pro rata share of HEP's cost of complying with these
laws or regulations; provided, however, that ALON shall have the option to elect
not to incur such monthly surcharge whereupon ALON shall, from and after the
date on which a Refined Product Terminal shall have to satisfy such new law or
regulation, no longer be entitled to utilize such Refined Product Terminal until
such time as ALON shall agree to incur such monthly surcharge; provided further,
that (i) during the Initial Term, no such election shall affect ALON's Minimum
Volume Commitment and (ii) during any Renewal Term, any such election by ALON
shall decrease ALON's Minimum Volume Commitment by the minimum volume applicable
to such Refined Product Terminal. ALON and HEP shall negotiate in good faith to
mitigate the impact of these laws and regulations and to determine the level of
the monthly surcharge. If ALON and HEP are unable to agree on the level of the
monthly surcharge, such surcharge will be determined by binding arbitration in
accordance with Section 21(g) of this Agreement.

         (e) Increases in Pipeline Tariff Rates. If new laws or regulations are
enacted that require HEP to make substantial and unanticipated capital
expenditures with respect to one or more Refined Product Pipelines, HEP may
increase the tariff rates set forth on Exhibits D, E and G to cover ALON's pro
rata share of HEP's cost (including cost of capital) of complying with these
laws or regulations; provided, however, that ALON shall have the option to elect
not to incur such increased tariff rates whereupon ALON shall, from and after
the date on which a Refined Product Pipeline shall have to satisfy such new law
or regulation, no longer be entitled to utilize such Refined Product Pipeline
until such time as ALON shall agree to incur such increased tariff rates;
provided further, that (i) during the Initial Term, no such election shall
affect ALON's Minimum Volume Commitment and (ii) during any Renewal Term, any
such election by ALON shall decrease ALON's Minimum Volume Commitment by the
minimum volume applicable to such Refined Product Pipeline. ALON and HEP shall
negotiate in good faith to mitigate the impact of these laws and regulations and
to determine the amount of the new

                                      -11-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

tariff rates. If ALON and HEP are unable to agree on the amount of the new
tariff rates that HEP will file, such tariff rates will be determined by binding
arbitration in accordance with Section 21(g) of this Agreement.

         (f) Terminal Access and Services Charge. The parties agree that a
monthly terminal access and services charge in the amount of $50,000 ("Monthly
Services Charge") shall be billed each month to ALON with respect to monitoring,
control, reporting and other services to be provided to ALON at the Refined
Product Terminals pursuant to this Agreement. The Monthly Services Charge
(without consideration of any previous adjustments pursuant to this Section
3(f)) shall be adjusted on March 1 of each Contract Year commencing on or after
January 2006 by an amount equal to the percentage increase, if any, in the PPI
from the month of December 2004 to the month of December immediately preceding
such Contract Year; provided, however, the Monthly Services Charge will not
decrease as a result of any decrease in the PPI.

         SECTION 4. BILLING

         (a) Monthly Statement. Each month during the term of this Agreement,
HEP will deliver a statement (the "Statement") to ALON on or before the 20th day
of each month setting forth the fees due to HEP by ALON for the services
rendered under this Agreement for the prior month, net of the amount of any
adjustments due to ALON pursuant to Section 15(a)(vi).

         (b) Due Date. ALON will pay HEP the amount specified on the Statement
in the form of immediately available federal funds by wire transfer to the bank
account specified on the Statement, or any other mutually agreed upon method,
within 10 days after receipt of the Statement (the "Due Date").

         (c) Late Payments. Payments not received by HEP on or prior to the Due
Date will accrue interest at the Prime Rate from the Due Date until the date
actual payment is received by HEP.

         SECTION 5. TAXES.

         ALON will pay all taxes, import duties, license fees and other charges
by any Governmental Authority levied on the Refined Products delivered by ALON
for transportation or storage by HEP in the Refined Product Pipelines and
Refined Product Terminals. HEP will pay all taxes, import duties, license fees,
users fees and other charges by any Governmental Authority levied on the
transportation and storage services provided by HEP to ALON under this Agreement
or on the Refined Product Pipelines or the Refined Product Terminals. Should
either party be required to pay or collect any taxes, duties, charges and or
assessments pursuant to any federal, state, county or municipal law or authority
now in effect or hereafter to become effective which are payable by the other
party pursuant to this Section 5, the proper party shall promptly reimburse the
other party therefor.

                                      -12-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         SECTION 6. TRANSPORTATION AND DELIVERY OF PRODUCT

         (a) Refined Product Pipelines.

                  (i) Origin and Destination. HEP will receive Refined Products
         from ALON at each of the Refined Product Pipelines origins as set forth
         in the applicable tariff. HEP will deliver the Refined Products shipped
         pursuant to this Agreement to the destination point set forth in the
         applicable tariff. Except as provided by Section 6(a)(vi) or Section
         14, or as may be otherwise agreed to by the parties, HEP will not be
         required to receive Refined Products from any other origin point, nor
         deliver Refined Products to any destination other than as provided in
         the tariff. Subject to Common Carrier Requirements, during the term of
         this Agreement, HEP shall not add or remove any origin or destination
         points to the Refined Product Pipelines without ALON's prior written
         consent.

                  (ii) Flow Rate. HEP shall ship Refined Products tendered by
         ALON and as scheduled by ALON pursuant to Section 6(a)(v), in
         accordance with the tariff rules and regulations set forth on Exhibits
         D, E, and G.

                  (iii) Minimum Batch Size. No Refined Products will be received
         or moved through the Refined Product Pipelines except in compliance
         with the tariff rules and regulations set forth on Exhibits D, E, and
         G. The minimum batch size on the Refined Product Pipelines shall be
         3,000 barrels.

                  (iv) Notification of Utilization. When requested by HEP, ALON
         will, within ten (10) days of such request, provide to HEP written
         notification of ALON's reasonable good faith estimate of its
         anticipated future utilization of the Refined Product Pipelines of HEP.

                  (v) Scheduling of Product Movements. Subject to Common Carrier
         Requirements and the terms of this Agreement, ALON will have the right
         and responsibility to schedule all movements of Refined Products
         transported for or at the direction of ALON on the Refined Product
         Pipelines. HEP will ship such Refined Products at the times, in the
         specific pipelines and from the origin and to the destination points as
         set forth in the applicable tariffs as scheduled by ALON. Prior to or
         at the time of scheduling HEP's shipment of any Refined Products, ALON
         will provide a notice to HEP setting forth in detail the specifications
         of each shipment of Refined Products; provided that ALON, may change
         the scheduling and/or specifications of any shipment of Refined
         Products up to the time of such shipment so long as ALON agrees to be
         responsible for any reasonable additional costs incurred by HEP as a
         direct result of such change and which would not have been incurred by
         HEP but for such scheduling change. In the event there shall occur any
         scheduling conflict between ALON and another shipper on any Refined
         Product Pipeline, the parties agree that the proration provisions
         contained in the document entitled, "Holly Energy Partners-Operating,
         L.P. Proration Policy," effective February 28, 2005, will control, and,
         to the extent such policy does not resolve

                                      -13-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         the conflict, the party with the greater historical usage over the
         preceding 24 months shall have priority.

                  (vi) Pipeline Direction and Connections. Without ALON's prior
         written consent, HEP will not reverse the direction of any Refined
         Product Pipelines or, connect any other pipeline to the Refined Product
         Pipelines or the Refined Product Terminals; provided, however, that HEP
         may take any (A) emergency action reasonably necessary to prevent or
         remedy a release of Refined Products from a Refined Product Pipeline or
         Refined Product Terminal, or (B) take any action that may be required
         by Common Carrier Requirements without obtaining the consent required
         by this clause. ALON shall have the right to reverse the direction of
         any Refined Product Pipelines so long as (A) ALON agrees to reimburse
         HEP for reasonable additional costs and expenses incurred by HEP as a
         direct result of changing the direction of the Refined Product on the
         Refined Product Pipelines (both to reverse and re-reverse) and which
         would not have been incurred by HEP but for such change of direction,
         and (B) such reversal does not conflict with any of HEP's other
         capacity commitments on the Refined Product Pipelines.

                  (vii) Maintenance. Except as set forth below, HEP, at its sole
         cost and expense, shall maintain the Refined Product Pipelines in good
         condition and repair (A) in accordance with all Applicable Laws, (B) in
         accordance with accepted industry practices and procedures in the
         repair and maintenance of pipeline facilities, and (C) in accordance
         with provisions of clauses (i) through (iv) of Section 10(c) (the
         foregoing clauses (A) through (C) of this Section 6(a)(vii) are
         collectively referred to herein as the "Maintenance Standards"). ALON,
         for so long as ALON is shipping Refined Products on the Refined Product
         Pipelines pursuant to this Agreement, at its sole cost and expense,
         shall maintain in good condition and repair all connections, valves,
         tank farm and mainline pumps and other pipeline equipment that connects
         the Refinery to the Refined Product Pipelines, in accordance with all
         Applicable Laws and in accordance with applicable industry standards.
         Subject to Section 14, HEP, in its sole discretion, will make the
         determination if any capital expenditures or improvements are needed to
         the Refined Product Pipelines, and, except as provided in Section 3(e)
         and Section 14, HEP will be responsible for all costs to implement such
         capital expenditures and improvements.

                  (viii) Shippers. HEP agrees that, without ALON's prior written
         consent, neither HEP nor any of its Affiliates shall be a shipper of
         any Refined Products or Other Products in any Refined Product Pipeline,
         and HEP further agrees that, subject to Common Carrier Requirements,
         only ALON and such shippers as ALON shall designate shall be permitted
         to ship Refined Products on the Refined Product Pipelines.

                  (ix) Control Center. Without ALON's prior written consent, the
         control center for the Refined Product Pipelines (the "Control Center")
         shall not be moved from Big Spring, Texas. HEP shall, during the term
         of this Agreement, provide ALON such level of communications with
         respect to the Refined Product Pipelines and the Refined Product
         Terminals as has been historically provided and such additional
         communications

                                      -14-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         services as ALON shall reasonably request so long as same does not
         impose a material burden on HEP. In addition, ALON shall retain access
         to the Control Center for purposes relating to any asset owned or
         operated by ALON pursuant to the Services Agreement. Notwithstanding
         the foregoing provisions, ALON shall not have access to any information
         pertaining to any other shippers, if any.

                  (x) No Additional Pipelines. HEP shall not construct or grant
         any right to construct any pipeline for transporting Refined Products
         on any easement, right of way or other parcel of real property
         transferred to HEP under the Contribution Agreement (the "Pipeline
         Easements"), nor shall HEP permit any pipeline controlled by HEP and
         currently or hereafter located or constructed on any Pipeline Easement,
         other than the Refined Products Pipelines or Capital Improvements, to
         transport any Refined Products; provided, however, HEP shall have the
         right to construct tanks and connecting lines at the Orla Tank Farm and
         the right to utilize any pipelines HEP currently utilizes at the Orla
         Tank Farm so long as such use does not interfere with (x) HEP's service
         to ALON pursuant to the terms of this Agreement or (y) ALON's rights
         pursuant to the terms of the Navajo Pipeline Lease.

         (b) Refined Product Terminals.

                  (i) Deliveries to the Terminal. Deliveries of Refined Products
         to the Refined Product Terminals will be made through existing pipeline
         connections at the Refined Product Terminals. At the beginning of each
         month, ALON will schedule the pipeline deliveries into the Refined
         Product Terminals, which may include deliveries of Refined Products
         from the Refined Product Pipelines or deliveries of third party Refined
         Products through existing pipeline connections at the Refined Product
         Terminals. ALON will provide HEP with a notice of scheduled deliveries,
         which notice will include details as to type, grade, quantity and
         quality of each Refined Product; provided that ALON may change the
         scheduling or specification of any scheduled delivery up to the time of
         such delivery so long as ALON agrees to be responsible for any
         reasonable additional costs incurred by HEP as a direct result of such
         change and which would not have been incurred by HEP but for such
         change. Deliveries of Refined Products to the Refined Product Terminals
         may be made 24 hours per day, seven days per week. HEP agrees that,
         without ALON's prior written consent, neither HEP nor any of its
         Affiliates will make any deliveries for their own account into the
         Refined Product Terminals and, subject to Common Carrier Requirements,
         deliveries to the Refined Product Terminals will be limited to
         deliveries from ALON or from third parties designated by ALON;
         provided, however, HEP shall have the right to utilize the Orla Tank
         Farm, so long as such use does not interfere with (x) HEP's service to
         ALON pursuant to the terms of this Agreement or (y) ALON's rights
         pursuant to the terms of the Navajo Pipeline Lease.

                  (ii) Deliveries from the Terminal. Deliveries of Refined
         Product from the Refined Product Terminals will be made to ALON, or to
         such third parties as ALON may direct, in accordance with HEP's
         operating procedures. HEP may require ALON and each of its employees,
         agents and representatives to execute an access agreement in the

                                      -15-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         form attached as Exhibit J hereto (and as may be subsequently revised
         as mutually agreeable to HEP and ALON) prior to loading Refined
         Products at the Refined Product Terminals, to comply with rules and
         procedures posted at the Refined Product Terminals, and to undergo
         training regarding loading at the Refined Product Terminals. HEP may
         exclude anyone from the Refined Product Terminals who fails to execute
         or to comply with an access agreement, fails to comply with the rules
         and procedures posted at the Refined Product Terminals, fails to attend
         or comply with training, or, in HEP's reasonable opinion, poses a risk
         to the Refined Product Terminals, its personnel, the public, or the
         environment. Deliveries of Refined Products to trucks from the Refined
         Product Terminals may be made 24 hours per day, 7 days per week, unless
         otherwise notified by HEP due to maintenance-type activities or
         emergencies. Unless otherwise consented in writing by the other party
         hereto, which consent shall not be unreasonably withheld, each party
         agrees that it shall continue the utilization of the terminal operating
         systems put in place by ALON, including systems to monitor and control
         customer identification, credit, access and loading volumes. Subject to
         Common Carrier Requirements, HEP agrees to comply with and use
         commercially reasonable efforts to enforce the limitations instituted
         by ALON from time to time with respect to such systems.

                  (iii) Terminal Operations and Maintenance. Except as otherwise
         provided in this Agreement, control and operation of the Refined
         Product Terminals will rest exclusively with HEP. HEP shall operate and
         manage the Refined Product Terminals in accordance with industry
         standards and customs. Except as otherwise provided in this Agreement,
         HEP, at its sole cost and expense, shall maintain the Refined Product
         Terminals in good condition and repair, in accordance with all
         Applicable Laws, and in accordance with accepted industry practices and
         procedures in the repair and maintenance of storage facilities. HEP
         shall inform ALON promptly of any adverse event or circumstance
         affecting the Refined Product Terminals.

         SECTION 7. PRODUCT QUALITY STANDARDS AND REQUIREMENTS

         (a) Product Quality. ALON warrants that all Refined Products
transported or terminalled by or at the request of ALON will conform to the
specifications for such Refined Products set forth in the rules and regulations
of the tariffs attached hereto as Exhibits D, E, or G when initially tendered by
ALON or at the request of ALON. HEP will not be required to receive Refined
Products into the Refined Product Terminals that are contaminated or otherwise
fail to meet those specifications, nor will HEP be required to accept any
Refined Products that fail to meet the quality specifications set forth in the
notice. With respect to the Refined Product Terminals, HEP will not commingle
any Refined Product of ALON with any Refined Product of any other party without
ALON's prior written consent. In addition, unless ALON shall direct otherwise,
HEP will not permit any product or other substance not meeting the definition of
"Refined Product" in this Agreement and the specifications therefore in the
rules and regulations tariffs attached hereto as Exhibits D, E, or G to be
transported, terminalled or otherwise introduced into the Refined Product
Pipelines or Refined Product Terminals.

                                      -16-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         (b) Verification of Quality. HEP may require the quality of the Refined
Products initially tendered into the Refined Product Terminals by ALON, its
customers or Affiliates (other than by Refined Product Pipelines) to be verified
either by ALON's laboratory analysis, or by an independent inspector's analysis
indicating that the Refined Products meet HEP's minimum Refined Products quality
specifications. All costs for such analysis are to be borne by ALON. HEP may
sample any Refined Products tendered to HEP for ALON's account for the purpose
of confirming the accuracy of the analysis. The cost of such confirmation shall
be borne by HEP.

         (c) Delivery of Product. HEP will (i) deliver to ALON the identical
Refined Products that are stored in any segregated Refined Product Terminals,
and (ii) comply with the rules and regulations of the tariffs attached hereto as
Exhibits D, E, or G with respect to delivery of any Refined Product tendered by
ALON into a Refined Product Pipeline. Any delivery by HEP to ALON will include
its allocable share of transmix as specified in the rules and regulations
tariffs attached hereto as Exhibits D, E, or G.

         (d) Tank Cleaning. If any Refined Product Terminals tank or line
requires cleaning due to the written request of ALON to change the type of
Refined Products stored therein, HEP shall clean or arrange for cleaning of such
tank and remove or arrange for removal of any Refined Products and disposal of
any waste; provided, however, ALON agrees to reimburse HEP for all costs and
expenses reasonably incurred by HEP in connection with such cleaning and removal
within 10 days of receipt of an invoice therefor.

         SECTION 8. PRODUCT MEASUREMENTS; INVENTORY REPORTS; AUDIT RIGHTS

         (a) All shipments of Refined Products shall be gauged or measured
pursuant to the rules and regulations tariffs attached hereto as Exhibits D, E,
or G. Quantities of Refined Products received into and delivered from the
Refined Product Terminals will be determined by pipeline meter or other
appropriate quantity measuring devices, as mutually determined by HEP and ALON
and shall include the volumes of transmix allocable to ALON in accordance with
the rules and regulations tariffs attached hereto as Exhibits D, E, or G. Meter
calibration shall be conducted on a monthly basis. Gauging of Refined Products
received, delivered or stored in the Refined Product Terminals will be taken
jointly by representatives of the parties at such times and places as shall be
indicated in a notice to ALON at least five days prior to such gauging; provided
if ALON does not have a representative present for gauging, HEP's gauging will
be conclusive, absent manifest error. HEP shall provide ALON with records of all
of ALON's transportation and storage transactions on the Transferred Assets.

         (b) HEP shall maintain accurate inventory records of ALON's Refined
Products at each Refined Product Terminal. HEP shall forward to ALON copies of
receipt and delivery tickets five times per week or as otherwise requested by
ALON. Within five days of the end of each calendar month during the term of this
Agreement, HEP shall provide to ALON for each Refined Product Terminal a monthly
inventory report showing separately, for each Refined Product stored at such
Refined Product Terminal, the beginning physical inventory, receipts into
inventory, deliveries from inventory, the ending book inventory, the ending
physical inventory and any gain or loss in inventory for such month. The ending
physical inventory of one month

                                      -17-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

shall be the beginning inventory for the next month. During the term of this
Agreement, HEP agrees to provide to ALON all information that is currently
reported on ALON's terminal gain/loss report summary and product balancing
system. HEP agrees to provide such information within five days of the end of
each calendar month.

         (c) ALON shall have the right, on a quarterly basis and upon written
notice to HEP, to audit HEP's books and records with respect to the inventory
services provided by HEP under Section 8(b). Such audits may be performed by
employees, independent accounting firms, and other designated representatives of
ALON (including internal auditing personnel) at its sole cost and expense. HEP
agrees to fully cooperate with ALON to accomplish the audit as expeditiously as
possible. Any audit shall be conducted at HEP's offices during normal business
hours, at ALON's sole cost and expense, and in a manner that does not
unreasonably interfere with HEP's normal business operations. ALON shall
maintain in strict confidence the content of any and all books and records
reviewed by ALON pursuant to this Section 8(c).

         SECTION 9. TITLE TO PRODUCT AND PRODUCT LOSSES

         Title to the Refined Products transported or stored in the Transferred
Assets for or on behalf of ALON will remain with ALON at all times subject to
any lien created under Applicable Law. In no event shall HEP make any delivery
of any of ALON's Refined Product to any third party unless ALON shall have
directed HEP to make such delivery or ALON shall have otherwise previously
consented in writing to such delivery. With respect to the Refined Product
Terminals, HEP will be responsible to compensate ALON for all product losses
other than product losses arising out of ALON's acts or omissions as determined
on an annual basis on a terminal by terminal basis, that are greater than 0.05%
of the product terminalled in accordance with this Agreement and pursuant to the
Schedule attached hereto as Exhibit I. All product gains and losses, if any,
with respect to each respective Refined Product Terminals will be allocated on a
monthly basis to ALON and each other customer, if any, of the terminal based on
their percentage of total receipts into the terminal. HEP's responsibility for
product losses on the Refined Product Pipelines will be determined pursuant to
the tariffs set forth as Exhibits D, E, or G.

         SECTION 10. EXCEPTIONS TO OBLIGATIONS

         (a) Shutdown or Reconfiguration of Refinery. During any Renewal Term,
ALON must deliver to HEP at least twelve months advance written notice of any
planned shut down or reconfiguration (excluding planned maintenance turnarounds)
of the Refinery or any portion of the Refinery that would reduce the Refinery's
output. ALON will use its commercially reasonable efforts to mitigate any
reduction in the Minimum Volume Commitment that would result from such a shut
down or reconfiguration. If ALON shuts down or reconfigures the Refinery or any
portion of the Refinery (excluding planned maintenance turnarounds) and
reasonably believes in good faith that such shutdown or reconfiguration will
jeopardize its ability to satisfy the Minimum Volume Commitment, then within 90
days of the delivery of the written notice of the planned shut down or
reconfiguration, ALON shall (i) propose a new Minimum Volume Commitment, such
that the ratio of the volumes of Refined Products to be transported

                                      -18-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

on the Refined Product Pipelines following such shut down or reconfiguration to
the anticipated production level of the Refinery following the shut down or
reconfiguration will be approximately equal to the ratio of the original volumes
of Refined Products transported on the Refined Product Pipelines under this
Agreement to the original production level of the Refinery under this Agreement
and (ii) propose the date on which the new Minimum Volume Commitment shall take
effect. Unless objected to by HEP within 60 days of receipt by HEP of such
proposal, such new Minimum Volume Commitment shall become effective as of the
date proposed by ALON. To the extent that HEP does not agree with ALON's
proposal, any changes in ALON's obligations under this Agreement, or the date on
which such changes take effect, the parties will negotiate in good faith to
resolve such disagreement within 30 days of notice thereof by HEP. In the event
the parties are unable to resolve such disagreement(s) within such time period,
the new Minimum Volume Commitment shall be determined by binding arbitration in
accordance with Section 21(g) of this Agreement and the arbitrators shall
consider the factors set forth in this Section 10(a) in resolving such
disagreement. The provisions of this Section 10(a) shall only apply during a
Renewal Term and do not apply to the Initial Term of this Agreement.

         (b) Force Majeure. In the event that any party is rendered unable, in
whole or in part, by a Force Majeure event from performing its obligations under
this Agreement, then upon the delivery of notice and full particulars of the
Force Majeure event in writing within a reasonable time after the occurrence of
the Force Majeure event relied on, the obligations of the parties, so far as
they are affected by the Force Majeure event, shall be suspended for the
duration of any inability so caused. Any period during which the obligations of
the parties are suspended as a result of this Section 10(b) shall extend the
term of this Agreement. ALON will be required to pay any amounts accrued and due
under this Agreement at the time of the Force Majeure event. The cause of the
Force Majeure event shall so far as possible be remedied with all reasonable
dispatch, except that no party shall be compelled to resolve any strikes,
lockouts or other industrial disputes other than as it shall determine to be in
its best interests. In the event a Force Majeure event prevents ALON from
performing its obligations under this Agreement for a period of more than twelve
months, this Agreement may be terminated by HEP as to the Refined Product
Pipeline(s) or Refined Product Terminal(s) as to which ALON's performance is
prevented as a result of such Force Majeure event. In the event a Force Majeure
event prevents HEP from performing its obligations under this Agreement for a
period of more than 90 days, then this Agreement may be terminated by ALON as to
the Refined Product Pipeline(s) or Refined Product Terminal(s) as to which HEP's
performance is prevented as a result of such Force Majeure event; provided,
however, that ALON agrees to extend such 90 day period to up to twelve months
from the date the Force Majeure event first occurred if, and for so long as, HEP
shall (i) provide alternative transportation and storage service to ALON
commensurate to the services suspended by such Force Majeure event and
reasonably acceptable to ALON, and (ii) shall reimburse ALON for all costs and
expenses incurred by ALON in accepting such alternative services and which would
not have otherwise been incurred by ALON absent such Force Majeure event; and
provided further that, in the event that the Force Majeure event preventing
performance by HEP arises (x) solely from an order, decree, regulation or
similar requirement of a Governmental Authority with jurisdiction over HEP or
the affected Refined Product Pipeline(s) or Refined Product Terminal(s), and (y)
such order, decree, regulation or

                                      -19-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

similar requirement does not relate to and is not otherwise attributable to any
negligent failure by HEP, any of its Affiliates or any of their respective
assets, including the Transferred Assets, to comply with Applicable Law (for the
purpose of this Section, "negligent failure" shall mean the failure of HEP or
its Affiliates to act as a reasonable prudent operator in accordance with
standard industry practice), then ALON's right to terminate this Agreement
pursuant to this Section 10(b) with respect to the affected Refined Product
Pipeline(s) or Refined Product Terminal(s) shall not be exercisable by ALON
until the date that is twelve months following the date on which HEP's
performance was first prevented by such order, decree, regulation or other
requirement, provided that, during the pendency of such Force Majeure event, HEP
uses its commercially reasonable efforts to have such order, decree, regulation
or other requirements, to the extent applicable to HEP or the Transferred
Assets, dissolved or eliminated, if possible, and to otherwise minimize the
impact thereof on HEP's obligations hereunder. Any termination pursuant to any
provision of this Section 10(b) shall not limit the liability of either party
for any breach of this Agreement prior to such termination. Nothing in this
Section 10(b) shall alter the liability of HEP as set forth in the rules and
regulations tariffs for the Refined Product Pipelines attached hereto as
Exhibits D, E, or G.

         (c) HEP's Right to Temporarily Suspend Operations. In the event that
HEP is required temporarily to suspend pipeline operations, in order to effect
any construction or repairs to or any maintenance of any portion of the Refined
Product Pipelines or the Refined Product Terminals, or to perform pipeline
integrity testing (or repairs related thereto) (collectively, "Maintenance
Activities"), HEP shall have the right to do so, provided that (i) HEP shall use
its commercially reasonable efforts to schedule and perform any Maintenance
Activities so as to minimize interference with ALON's transportation schedule,
(ii) if ALON provides HEP with at least 120 days advance written notice of the
date of any Refinery turnaround, HEP shall use its best efforts to schedule and
perform any Maintenance Activities during the Refinery's turnarounds provided
such scheduling does not materially increase HEP's cost of performing such
Maintenance Activities, (iii) HEP shall provide ALON with a minimum of 60 days
advance written notice of any scheduled Maintenance Activities, and (iv) HEP
shall complete any Maintenance Activities (scheduled or unscheduled) with
reasonable dispatch. The provisions set forth in clauses (ii) through (iii) of
the immediately preceding sentence of this Section 10(c) shall not apply to the
extent HEP determines in good faith that emergency Maintenance Activities are
required in connection with the Refined Product Pipelines or Refined Product
Terminals. In addition, in the event Maintenance Activities are required to be
performed within time periods that do not permit HEP to provide ALON with 60
days advance written notice of such activities, HEP shall provide ALON with
notice of such Maintenance Activities as soon as is reasonably practical under
the circumstances. If ALON is unable to transport on the Refined Product
Pipelines or terminal in the Refined Product Terminals the volumes of Refined
Products required to meet the Minimum Volume Commitment for any period of time
as a result of HEP's activities under this Section 10(c), then the Minimum
Volume Commitment will be reduced as provided by Section 2(a)(ii).

                                      -20-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         SECTION 11. AGREEMENT TO REMAIN SHIPPER

         With respect to any Refined Products that are produced at the Refinery
and transported in any Refined Product Pipeline or handled at any Refined
Product Terminal, ALON agrees that it will continue its historical commercial
practice of owning such Refined Products from such point as such Refined
Products leave the Refinery until at least such point as they will not be
further transported in a Refined Product Pipeline or handled at a Refined
Product Terminal and to continue acting in the capacity of the shipper of any
such Refined Products for its own account at all times that such Refined
Products are in a Refined Product Pipeline or being handled at the Refined
Product Terminals.

         SECTION 12. AGREEMENT NOT TO CHALLENGE TARIFFS OR TERMINAL CHARGES;
GOVERNMENTAL ACTIONS

         (a) ALON agrees to any tariff rate changes for the Refined Product
Pipelines determined in accordance with this Agreement. ALON agrees (a) not to
challenge, nor to cause its Controlled Affiliates to challenge, nor to encourage
or recommend to any other Person that it challenge, or voluntarily assist in any
way any other Person in challenging, in any forum, interstate or intrastate
tariffs (including joint tariffs) of HEP relating to the Refined Product
Pipelines that HEP has filed or may file containing rates, rules or regulations
that are in effect at any time during the term of this Agreement and regulate
the transportation of Refined Products, (b) not to protest or file a complaint,
nor cause their Controlled Affiliates to protest or file a complaint, nor
encourage or recommend to any other Person that it protest or file a complaint,
or voluntarily assist in any way any other Person in protesting or filing a
complaint, with respect to regulatory filings that HEP has made or may make at
any time during the term of this Agreement to change interstate or intrastate
tariffs (including joint tariffs) for transportation of Refined Products on the
Refined Product Pipelines and (c) not to seek, nor cause their Controlled
Affiliates to seek, nor encourage or recommend to any other Person that it seek,
or voluntarily assist in any way any other Person in seeking, regulatory review
of, or regulatory jurisdiction over, the contractual rates charged at any time
during the term of this Agreement by HEP for terminalling services at the
Refined Product Terminals or to challenge, in any forum, such rates or changes
to such rates, in each case so long as such tariffs, regulatory filings or rates
changed are made in accordance with, and do not otherwise conflict with, the
terms of this Agreement.

         (b) Should any Common Carrier Requirement or any action by any
Governmental Authority require HEP to implement a change in HEP's obligations
with respect to the provision of shipping or prorationing as stated in this
Agreement or any Exhibit hereto, HEP will provide notice to ALON of such action
and will consult with ALON pursuant to Section 21(p) prior to implementing any
change required as a result of such action. HEP further agrees (i) to provide
ALON with any non-privileged information HEP may have to assist ALON if it
chooses to challenge such action, and (ii) to abstain, at ALON's request, from
implementing any change required as a result of such action until ALON has
exhausted any such challenge, subject, however, to HEP's right to implement a
change upon a good faith determination by HEP, after consulting with its counsel
(and prior notice to ALON), that legal obligations imposed upon HEP require such
action. ALON agrees to be responsible for and reimburse HEP for any fees, fines,

                                      -21-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

penalties, or other expenses incurred by HEP in connection with HEP's
non-compliance with such required action to the extent such non-compliance
results from any request by ALON pursuant to this paragraph 12(b).

         SECTION 13. TERM AND RENEWAL; RIGHT TO ENTER NEW AGREEMENT

         (a) Term. This Agreement shall be effective as of the Effective Date
and shall terminate at 12:01 a.m. Dallas, Texas, time on February 28, 2020, (the
"Initial Term") unless earlier terminated pursuant to the provisions of this
Agreement or extended by ALON's exercise of its renewal options as set forth in
this Section 13; provided, however, that Section 12, Section 13(c), Section 17,
Section 18, Section 19, Section 20, and Section 21 shall survive the termination
of this Agreement.

         (b) Renewal Options. Unless this Agreement shall have been earlier
terminated pursuant to the provisions set forth herein, ALON, so long as no ALON
Event of Default shall have occurred and be continuing, shall have the right to
extend the term of this Agreement for three additional five year periods
("Renewal Terms") commencing on the first day immediately following the
expiration of the Initial Term or any Renewal Term by giving notice to HEP of
its desire to exercise such option at least 180 days prior to the end of the
Initial Term or any Renewal Term, as applicable. At ALON's option, such renewal
option may apply to only such Refined Product Pipelines or Refined Product
Terminals as ALON shall designate and shall then still be subject to this
Agreement.

         (c) New Agreement. For a period of one year following the termination
without renewal of this Agreement, ALON will have the right to enter into a new
pipelines and terminals agreement with HEP with respect to the Refined Product
Pipelines or Refined Product Terminals designated by ALON on commercial terms
which the parties agree are substantially similar to the terms which HEP could
enter into an agreement with a third party for similar services. In furtherance
of the foregoing rights of ALON, in the event that HEP proposes to enter into
any pipelines and terminals agreement or similar agreement with any third party
with respect to any Refined Product Pipeline or Refined Product Terminal after
termination without renewal of this Agreement, HEP shall give ALON 45 days prior
written notice of such proposed agreement, which notice shall include the fee
schedules, tariffs, throughput volumes, duration and any other terms proposed in
such agreement.

         SECTION 14. CONSTRUCTION OF UPGRADES; EXPANSION OF PIPELINE

         (a) Capital Improvements. During the term of this Agreement, ALON shall
be entitled to designate Capital Improvements to be made to the Refined Product
Pipelines and the Refined Product Terminals. The following provisions shall set
forth the procedures pursuant to which Capital Improvements designated by ALON
may be constructed:

                  (i) For any Capital Improvement designated by ALON, ALON shall
         submit a written proposal, including all specifications then available
         to it, of the nature of

                                      -22-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         the proposed Capital Improvement to the Refined Product Pipelines
         and/or the Refined Product Terminals.

                  (ii) HEP will review such proposal to determine, in its sole
         discretion, whether it will consent to proceed with the proposed
         Capital Improvement.

                  (iii) Should HEP determine to proceed and construct or cause
         to be constructed the approved Capital Improvement, HEP will obtain
         bids from two or more general contractors reasonably acceptable to ALON
         for the construction of the Capital Improvement. Based upon the bids,
         HEP will notify ALON of the total estimated cost of the amount
         necessary to construct such Capital Improvement (which amount shall
         include the costs of capital and any other costs necessary to place
         such Capital Improvement in service) ("Construction Capital
         Expenditure"). Within 30 days of such notice, ALON will notify HEP
         whether or not ALON agrees to such Construction Capital Expenditure. In
         the event ALON does not agree with such Construction Capital
         Expenditure, the parties shall work together in good faith to reach
         agreement on the Construction Capital Expenditure; provided that, in
         the event the parties do not reach such agreement within 30 days, ALON
         shall be entitled to proceed with the construction of the Capital
         Improvement in accordance with Section 14(a)(v) below.

                  (iv) Prior to beginning any construction on the Capital
         Improvement, (x) HEP shall have received all necessary regulatory
         approvals, and (y) HEP and ALON shall agree on an additional monthly
         revenue amount (the "Monthly Capital Construction Amount") which amount
         (1) shall be payable over a mutually agreed to term not to exceed the
         then remaining balance of the Initial Term (or the then current Renewal
         Term) plus any Renewal Term to which ALON is then committed or shall
         then commit (the "Capital Amortization Period"), and (2) shall be
         sufficient to provide HEP the equivalent of a rate of return equal to
         prime rate plus an additional rate of return to be agreed to by the
         parties over the Capital Amortization Period on the Construction
         Capital Expenditure after taking into account the increased cash flows
         to HEP committed to by ALON and otherwise reasonably anticipated to be
         received by HEP from ALON (or from a third party pursuant to a direct
         contractual commitment to HEP) in connection with such Capital
         Improvement. The Monthly Capital Construction Amount shall be billed
         and paid monthly following ALON's acceptance (which shall not be
         unreasonably withheld) of the Capital Improvement as meeting the
         specifications delivered to HEP pursuant to Section 14(a)(i) and ALON's
         obligation to pay the Monthly Capital Construction Amount shall survive
         the termination of this Agreement due to an ALON Event of Default. In
         connection with the construction of any Capital Improvement pursuant to
         this Section 14(a)(iv), ALON shall be entitled to participate in all
         stages of planning, scheduling, implementing, and oversight of the
         construction. ALON shall also be entitled to audit all expenditures
         incurred in connection with the Capital Improvement and HEP shall
         provide all invoices and other documentation reasonably requested by
         ALON for this purpose.

                                      -23-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

                  (v) If for any reason the Capital Improvement shall not be
         constructed pursuant to Section 14(a)(iv) above, and such Capital
         Improvement is in accordance with applicable required engineering and
         regulatory standards, and could not reasonably be expected to have a
         material adverse impact on the operations or efficiency of the Refined
         Product Pipelines or the Refined Product Terminals or result in any
         material additional unreimbursed costs to HEP, then ALON may proceed
         with the construction and financing of the Capital Improvement and,
         upon completion of construction, ALON shall be the owner and operator
         of such Capital Improvement. The parties agree that any Capital
         Improvement constructed by ALON shall be treated as the separate
         property of ALON. HEP shall cooperate with ALON in insuring that the
         Capital Improvement shall operate as intended, including by operating
         and maintaining all necessary connections to the Refined Product
         Pipelines and the Refined Product Terminals, subject to ALON's
         reimbursing HEP on a monthly basis for any incremental expenses arising
         from operating or maintaining such connections.

         (b) Ownership and Operation. Upon completion of the construction, HEP
or ALON, as applicable, will own all Capital Improvements to the Refined Product
Pipelines and the Refined Product Terminals, and will operate and maintain the
Capital Improvements in accordance with Applicable Law and recognized industry
standards.

         SECTION 15. CONTRACT QUARTER ADJUSTMENTS

         (a) Activity Notice. As soon as practicable following the end of each
Contract Quarter under this Agreement, HEP shall deliver to ALON a written
notice in a form mutually agreed by the parties hereto (the "Activity Notice")
which shall set forth the following:

                  (i) The total volumes of Refined Products and Other Products,
         if any, transported by ALON and any other party on each Refined Product
         Pipeline or stored by ALON or any other party in each Refined Product
         Terminal during such Contract Quarter (the "Total Volumes"), together
         with the total revenues attributable to such volumes (the "Total
         Revenues" and, together with the Total Volumes, the "Total Activity");

                  (ii) A statement of the amount by which the Total Volumes for
         each Refined Product Pipeline and Refined Product Terminal were greater
         than ("Excess Volumes") or less than ("Deficient Volumes") an amount
         equal to the Minimum Volume Commitment for such Refined Product
         Pipeline or Refined Product Terminal multiplied by the actual number of
         days in such Contract Quarter (such product being referred to herein as
         the "Quarterly Minimum Volume");

                  (iii) For each Refined Product Pipeline or Refined Product
         Terminal with Excess Volumes for such Contract Quarter, the amount (the
         "Excess Revenues") by which the Total Revenues for such Refined Product
         Pipeline or Refined Product Terminal exceeded the product obtained by
         multiplying (1) the Quarterly Minimum Volume for such Refined Product
         Pipeline or Refined Product Terminal, by (2) the tariff rate set forth
         in Exhibits D, E, or G, as adjusted pursuant to this Agreement, which
         is then applicable

                                      -24-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         to such Refined Product Pipeline, or the terminal fees then applicable
         to such Refined Product Terminal (the "Minimum Volumes Revenue");

                  (iv) For each Refined Product Pipeline or Refined Product
         Terminal with Deficient Volumes for such Contract Quarter, the revenue
         due to HEP with respect to such Deficient Volumes (the "Deficient
         Revenues"), which shall be calculated by multiplying the Deficient
         Volumes by the tariff rates set forth in Exhibits D, E and G, as
         adjusted pursuant to this Agreement, which are then applicable to such
         Refined Product Pipeline, or the terminal fees, as adjusted pursuant to
         this Agreement, then applicable to such Refined Product Terminal;

                  (v) The total amount of Deficient Revenues with respect to
         such Contract Quarter (the "Total Deficient Revenues"), the total
         amount of Excess Revenues with respect to such Contract Quarter (the
         "Total Excess Revenues"), and the difference obtained by subtracting
         the Total Excess Revenues from the Total Deficient Revenues which
         difference, if positive, shall be the "Deficiency Payment" required to
         be paid by ALON to HEP pursuant to this Section 15. If ALON agrees with
         the Activity Notice, ALON shall pay the Deficiency Payment to HEP
         within 10 days after its receipt of the Activity Notice. If ALON
         disagrees with the Activity Notice, then ALON shall (i) notify HEP of
         its objection(s) to the Activity Notice (the "Objection Notice"), (ii)
         pay to HEP the amount, if any, of the Deficiency Payment which ALON
         does not dispute and (iii) deliver the amount of the Deficiency Payment
         that ALON disputes (the "Disputed Amount") to a mutually agreeable
         escrow agent (the "Escrow Agent") with instructions to distribute such
         Disputed Amount pursuant to the terms of this Section 15; and

                  (vi) Any adjustment due to ALON with respect to (A) Incentive
         Tariffs in accordance with Section 3(b) (the "Incentive Adjustment")
         and (B) any Deficiency Payments in accordance with Section 15(d) below
         to the extent such Deficiency Payments shall not have previously been
         applied pursuant to Section 15(d). For each adjustment due to ALON in
         accordance with this clause (vi), ALON shall be entitled to a credit on
         the next monthly invoice delivered by HEP pursuant to Section 4(a) in
         an amount equal to such adjustment plus interest thereon at the Prime
         Rate from the last day of the preceding Contract Quarter to the date of
         such invoice.

         (b) Payment and Dispute. If ALON disagrees with the Activity Notice,
then following the delivery of the Objection Notice, the chief financial
officers of ALON and HEP shall meet or communicate by telephone at a mutually
acceptable time and place, and thereafter as often as they reasonably deem
necessary and shall negotiate in good faith to attempt to resolve any
differences that they may have with respect to matters specified in the Activity
Notice. During the 30-day period following the delivery of the Objection Notice,
ALON shall have access to the working papers of HEP relating to the Activity
Notice. If such differences are not resolved within 30 days following delivery
of the Objection Notice, ALON and HEP shall, within 45 days following the
delivery of the Objection Notice, submit any and all matters which remain in
dispute and which were properly included in the Activity Notice to arbitration
in accordance with Section 21(g).

                                      -25-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         (c) Refund. Upon final resolution of the disputed Activity Notice, HEP
and ALON shall promptly (i) amend the disputed Activity Notice and (ii) direct
the Escrow Agent to distribute the Disputed Amount, if any, together with any
interest earned thereon, in immediately available funds to HEP and/or ALON, each
in accordance with the terms of such resolution. With respect to any portion of
the Disputed Amount to be paid to HEP, ALON shall pay to HEP an amount equal to
(i) interest on such portion of the Disputed Amount at the Prime Rate, less (ii)
any interest earned on such portion of the Disputed Amount and paid to HEP by
the Escrow Agent pursuant to the preceding sentence. With respect to any portion
of the Disputed Amount to be paid to ALON, HEP shall pay to ALON an amount equal
to (i) interest on such portion of the Disputed Amount at the Prime Rate, less
(ii) any interest earned on such portion of the Disputed Amount and paid to ALON
by the Escrow Agent pursuant to the first sentence of this Section 15(c).

         (d) Deficiency Payment Adjustments. For each Contract Quarter for which
the Total Revenues shall exceed the Minimum Volumes Revenue (such excess being
the "Net Excess Revenues"), ALON shall be entitled to a credit solely against
any payments owed by ALON for such Net Excess Revenues for such Contract Quarter
equal to any Deficiency Payments made in the prior four Contract Quarters and
not previously so credited.

         SECTION 16. EVENTS OF DEFAULT

         (a) Events of Default by HEP. The occurrence of any of the following
events shall constitute "HEP Events of Default":

                  (i) Any failure to make any payment required to be made by HEP
         hereunder, where such failure continues for 10 days after receipt of
         written notice from ALON, subject to the right of HEP, reasonably
         exercised, to contest any such payment. In the event HEP withholds any
         such payment, and it is determined that such withholding was wrongful,
         HEP agrees to pay interest to ALON on such monies wrongfully withheld
         at the Prime Rate;

                  (ii) A failure by HEP to observe and perform any material
         provision or covenant of this Agreement (other than the obligation to
         pay amounts when due as the result of same being covered by clause (i)
         preceding) to be observed or performed by HEP where such failure
         continues unremedied for a period of 30 days after receipt of written
         notice thereof from ALON to HEP (the "Initial HEP Cure Period");
         provided, however, in the event a breach specified in this clause (ii)
         cannot be reasonably cured within such 30-day period and HEP is
         diligently proceeding to cure such breach, HEP shall have an additional
         period of time as is reasonably necessary to cure such breach, not to
         exceed 180 days after HEP's receipt of notice from ALON regarding such
         breach (the "Extended HEP Cure Period");

                  (iii) The making by HEP of any general assignment for the
         benefit of creditors, the filing by or against HEP of a petition to
         have HEP adjudged a bankrupt, or a petition for reorganization or
         arrangement under any law relating to bankruptcy (unless,

                                      -26-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         in the case of a petition filed against HEP, the same is dismissed
         within 60 days), or the appointment of a trustee or receiver to take
         possession that is not restored to HEP within 30 days; and

                  (iv) Any default by HEP or its Affiliates under any mortgage,
         or other security document or instrument to which it is a party which
         default would entitle any third party (other than a third party who is
         bound by a Non-Disturbance Agreement with ALON), to acquire all or any
         material portion of the Refined Product Pipelines or the Refined
         Product Terminals.

         (b) Events of Default by ALON. The occurrence of any of the following
shall constitute "ALON Events of Default":

                  (i) Any failure to make any payment required to be made by
         ALON hereunder, where such failure continues for 10 days after receipt
         of written notice from HEP, subject to the right of ALON, reasonably
         exercised, to contest any such payment. In the event ALON withholds any
         such payment, and it is determined that such withholding was wrongful,
         ALON agrees to pay interest to HEP on such monies wrongfully withheld
         at the Prime Rate;

                  (ii) A failure by ALON to observe and perform any material
         provision or covenant of this Agreement (other than the obligation to
         pay amounts when due as the result of same being covered by clause (i)
         preceding) to be observed or performed by ALON where such failure
         continues unremedied for a period of 30 days after receipt of written
         notice thereof to ALON; provided, however, in the event a breach
         specified in this clause (ii) cannot be reasonably cured within such
         30-day period and ALON has diligently proceed to cure such breach, ALON
         shall have such period of time, not to exceed 180 days, as is
         reasonably necessary to cure such breach; and

                  (iii) The making by ALON of any general assignment for the
         benefit of creditors, the filing by or against ALON of a petition to
         have ALON adjudged a bankrupt, or a petition for reorganization or
         arrangement under any law relating to bankruptcy (unless, in the case
         of a petition filed against ALON, the same is dismissed within 60
         days), or the appointment of a trustee or receiver to take possession
         that is not restored to ALON within 30 days.

         SECTION 17. REMEDIES

         (a) Remedies of HEP. In the event an ALON Event of Default occurs and
is not cured, HEP shall have the right to enforce performance by ALON of this
Agreement and recover damages for the breach thereof and with respect to an ALON
Event of Default specified in Section 16(b)(i), HEP shall have the right to
refuse receipts and deliveries by or on behalf of ALON on 10 days prior written
notice to ALON; provided, however, that HEP shall not (i) with respect to an
ALON Event of Default, specified in Section 16(b)(i), be entitled to terminate
this Agreement unless such ALON Event of Default is not cured within 60 days
after receipt of

                                      -27-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

written notice from HEP; provided further that to the extent ALON has
enforceable rights to receive insurance proceeds which are sufficient to cure
such default, ALON shall be entitled to an additional 60 days to cure such
default so long as it is using commercially reasonable efforts to collect such
insurance proceeds and pay them to HEP; and (ii) with respect to an ALON Event
of Default specified in Section 16(b)(ii) or Section 16(b)(iii), be entitled to
refuse receipts and deliveries by or on behalf of ALON or to terminate this
Agreement until such time as HEP shall have been awarded any such right pursuant
to a final binding and nonappealable decision of an Arbitrable Dispute pursuant
to Section 21(g). Notwithstanding any other provision of this Agreement to the
contrary, HEP agrees to subordinate any lien or other possessory interest of HEP
in any Refined Products to any lien held by ALON's lenders.

         (b) Remedies of ALON. In the event an HEP Event of Default occurs and
is not cured, ALON shall have the right to enforce performance by HEP of this
Agreement and recover damages for the breach thereof in accordance with the
provisions of Section 21(g). In addition, if an HEP Event of Default specified
in Section 16(a)(i), Section 16(a)(iii) or Section 16(a)(iv) occurs and is not
cured, ALON shall have the right to terminate this Agreement on 30 days written
notice to HEP; provided, however, that ALON shall not, with respect to an HEP
Event of Default specified in Section 16(a)(i), be entitled to terminate this
Agreement unless such HEP Event of Default is not cured within 60 days after
receipt of written notice from ALON; and provided, further that to the extent
HEP has enforceable rights to receive insurance proceeds which are sufficient to
cure such default, HEP shall be entitled to an additional 60 days to cure such
default so long as it is using all commercially reasonable efforts to collect
such insurance proceeds and pay them to ALON. In the event an HEP Event of
Default specified in Section 16(a)(ii) occurs and is not cured, ALON shall have
the right to terminate this Agreement by written notice to HEP following
expiration of the Extended HEP Cure Period.

         (c) ALON's Option to Operate. In the event (x) an HEP Event of Default
described in Section 16(a)(ii) occurs and is not cured before the expiration of
the Initial HEP Cure Period, (y) an HEP Event of Default pursuant to Section
16(a)(iii) or Section 16(a)(iv) occurs and is not cured, or (z) a Force Majeure
event prevents HEP from substantially performing its obligations under this
Agreement for more than 30 days, then ALON shall have the option (1) to exercise
the remedies in Section 17(b), and/or (2) to directly or indirectly through a
designee, enter the Refined Product Terminals and the control center for the
Refined Product Pipelines and (at ALON's election) commence (and thereafter
continue during the Intervention Period) the operation and maintenance thereof
or the taking of such actions as may be necessary to obtain substitute
performance for those obligations of HEP hereunder that are not being performed
by HEP; provided, however, that with respect to clause (x) above, if the HEP
Event of Default results directly from a breach by ALON of any representation,
warranty or covenant under the Contribution Agreement (without giving effect to
any limitations on the survival period, if any) or any Ancillary Document, then
ALON's rights pursuant to clause (2) above shall be limited to the performance
and provision of transportation or terminalling services in compliance with
Section 2(b) which HEP is unable to perform or provide as a result of such HEP
Event of Default and for which ALON is then capable of performing or providing.
The period of ALON's operations pursuant to clause (2) above (the "Intervention
Period") shall commence upon ALON's entry into the Refined Product Terminals and
control center and shall extend until the

                                      -28-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

earlier of (i) the expiration of this Agreement (including any Renewal Terms),
(ii) the election by ALON in its sole discretion to terminate the Intervention
Period, and (iii) the date upon which such Force Majeure Event ends or HEP cures
such HEP Event of Default. All costs reasonably incurred by ALON in exercise of
its rights and remedies under this Section 17(c) shall be reimbursed or paid by
HEP no later than 10 days following written demand from ALON (which demand may
be given by ALON periodically as such costs are incurred) or ALON may set-off
all or any part of such costs against any amounts owed by ALON to HEP under this
Agreement.

         (d) ALON's Option to Purchase. Upon the occurrence of a failure by HEP
described in Section 16(a)(ii) which is not cured before the expiration of the
Extended HEP Cure Period (other than a failure that results directly from a
breach by ALON of any representation, warranty or covenant under the
Contribution Agreement (without giving effect to any limitations on the survival
period, if any) or any Ancillary Document), the occurrence and continuance for
over 180 days of an HEP Event of Default under Section 16(a)(iii) or Section
16(a)(iv), or upon any termination of this Agreement pursuant to Section 10(b)
due to a Force Majeure event affecting HEP, ALON shall have the option, and HEP
hereby grants to ALON such option, to purchase (or to cause an Affiliate of ALON
to purchase) all, or such portion as ALON shall designate, of the Refined
Product Pipelines and Refined Product Terminals from HEP by delivering notice of
the exercise of such option to HEP within 60 days of the end of such 180-day
period or such termination. Such purchase shall be made pursuant to an asset
purchase agreement containing the same terms and conditions as the Contribution
Agreement except that (i) ALON, or its designated Affiliate, shall be the
purchaser and HEP shall be the seller, (ii) any terms or conditions in the
Contribution Agreement that are clearly inapplicable to the purchase by ALON
shall be omitted, (iii) the purchase price for the Refined Product Pipelines and
Refined Product Terminals to be purchased by ALON shall be paid in cash and in
an amount determined by an appraisal of the fair market value of the assets to
be purchased at the time of exercise of ALON's option, which appraisal shall (x)
take into account all factors relevant to determining the purchase price for
such assets including, without limitation, the condition of the assets, the
purpose intended for the assets, any repairs required to be made, and the terms
and nature of the transaction to be effected pursuant to this Section 17(d), and
(y) shall be performed by an independent third party appraiser with substantial
experience in valuing petroleum product pipelines and terminals, (iv) such
purchase shall be free and clear of any liens or security interests relating to
indebtedness for borrowed money, but shall otherwise be on an "as-is, where-is"
basis, and (v) shall close within 180 days of the notice of exercise of the
option. In addition, ALON shall have the right, at its own expense, to conduct a
due diligence investigation of the Refined Product Pipelines and the Refined
Product Terminals and HEP shall provide ALON reasonable access to such assets
and all related records and documents for the purpose of such investigation.
ALON shall have the right to terminate its purchase option if it is dissatisfied
with the results of such due diligence investigation.

         (e) Further Obligations. Each party shall make commercially reasonable
efforts to mitigate any of the damages to which it may be entitled under any
provision of this Agreement.

                                      -29-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         SECTION 18. ALON RIGHT OF FIRST REFUSAL

         (a) HEP hereby grants to ALON a right of first refusal on any proposed
Transfer (excluding (i) a Transfer to a Controlled Affiliate made solely for the
purpose of such Controlled Affiliate thereafter owning and operating the
Transferred Assets in accordance with this Agreement, or (ii) the grant of
security interest to a bona fide third party lender which complies with the
provisions of Section 21(c), but not excluding any foreclosure or other
realization on such security interest) of all or any portion of the Refined
Product Pipelines or the Refined Product Terminals. ALON's right of first
refusal granted hereunder shall survive any Transfer of the Refined Product
Pipelines or the Refined Product Terminals or any assignment of this Agreement
and shall be binding upon all successors or permitted assigns of HEP.

         (b) If (1) HEP desires to (x) Transfer all or part of its interest in
the Refined Product Pipelines or in the Refined Product Terminals (collectively,
the "Operations") or (y) Transfer title to all or a part of its interests in the
Operations to its mortgagee in lieu of foreclosure; or (2) all or a part of
HEP's interest in the Operations will be Transferred pursuant to foreclosure of
a mortgage of any such interest, and any such Transfer is subject to the right
of first refusal in Section 18(a) above; HEP shall promptly give written notice
to ALON or its successors and assigns with full information concerning such
transaction (the "Transaction Notice").

         The Transaction Notice shall (a) include the name and address of the
prospective transferee (who must be a bona fide purchaser), the purchase price,
the form of consideration proposed, and all other terms of the proposed
transaction (collectively, the "Proposed Terms"), (b) include a complete copy of
any proposed or executed written agreement that sets forth the Proposed Terms,
including all exhibits, schedules and related agreements; and (c) in the event
the Transfer of HEP's interest in the Operations is to be made pursuant to
subsections (b)(1)(y) or (b)(2) above, the Transaction Notice shall include all
material notices received by HEP from its mortgagee relating to the Transfer in
lieu of foreclosure or foreclosure of a mortgage on any such interest.

         ALON shall then have the right for a period of thirty (30) days (the
"Exercise Period") after the Transaction Notice is delivered, to elect to
purchase all of the Operations which HEP proposes to Transfer on the Proposed
Terms. ALON shall have the right, at its own expense, to conduct a due diligence
investigation of the Operations during the Exercise Period and HEP shall provide
ALON reasonable access to conduct such investigation. In the event that ALON
shall exercise its right of first refusal by delivery of written notice of such
exercise to HEP within the Exercise Period, ALON shall close the Transfer of the
Operations within 90 days of the end of the Exercise Period and HEP shall use
all commercially reasonable efforts to cooperate with ALON in effecting such
closing on the Proposed Terms. ALON shall have the right to confirm the fair
market value of any non-cash consideration included within the purchase price
set forth in the Proposed Terms by an independent appraisal by a generally
recognized valuation firm. If the proposed Transfer includes other assets of HEP
or is structured as a non-simultaneous, like-kind exchange under Section 1031 of
the Internal Revenue Code of 1986, as amended, the interest that is subject to
ALON's right of first refusal pursuant to Section 18(a) shall be

                                      -30-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

separately valued and the Transaction Notice shall state the value attributed to
such interest by the prospective transferee.

         If ALON does not exercise its right of first refusal granted pursuant
to this Section 18 within the Exercise Period, HEP may enter into a binding
agreement or proceed to close on any such agreement already executed to Transfer
its interests in the Operations on terms and conditions in the aggregate no less
favorable to HEP than the Proposed Terms to the prospective transferee, during a
period ("Third Party Sale Period") ending 90 days after the Exercise Period. If
however, no such binding agreement is entered into or no closing occurs with the
prospective transferee during the Third Party Sale Period, then no Transfer may
thereafter be entered into by HEP without first again complying with this
Section 18. Notwithstanding the application of this Section 18, any Transfer
made pursuant to this paragraph must comply with the provisions of Section
21(c). Notwithstanding the foregoing, any Transfer made pursuant to the last
proviso under Section 21(c) shall not give rise to a right of first refusal
under this Section 18.

         SECTION 19. INSURANCE; INDEMNIFICATION

         (a) Insurance. In connection with this Agreement, each party shall
maintain insurance providing for coverage and minimum limits contained in
Exhibit H attached hereto and incorporated herein by reference. Each party shall
furnish the other party with certificates of insurance sufficient to establish
that such party is maintaining the coverage so specified. Said certificates
shall not be canceled or otherwise materially altered without at least 30 days
prior written notice to the other party. Insurance covering the Refined
Products, if any, shall be carried by ALON at its own expense.

         (b) Indemnification by ALON. To the extent permitted by Applicable Law
and except as otherwise specifically provided in this Agreement, ALON agrees to
defend and indemnify HEP, its Subsidiaries and Affiliates and their respective
directors, officers, employees, agents and other representatives (the "HEP
Indemnified Parties"), from and against all liabilities, losses, damages,
Claims, suits, penalties, fines, judgments, costs and expense (including
reasonable attorney fees and other costs of litigation) (collectively "Losses"),
resulting from, associated with or arising out of (i) ALON's failure to comply
with applicable governmental or quasi-governmental laws, regulations or rules,
(ii) bodily injury or death of any Person, including, without limitation, ALON's
and HEP's employees, agents and representatives, (iii) damage to natural
resources or to property of any nature, including, without limitation, that
involving the Refined Products and other property of ALON and the Refined
Product Terminals, Refined Product Pipelines and other property of HEP, or (iv)
discharges, spills, or leaks of products; in each case (x) regardless of the
negligence of any of the HEP Indemnified Parties, but (y) only to the extent
caused by the negligent, gross negligent or willful acts or omissions of ALON,
its employees, agents, representatives or contractors in the exercise of any of
the rights granted under this Agreement.

         (c) Indemnification by HEP. To the extent permitted by Applicable Law
and as otherwise specifically provided in this Agreement, HEP agrees to defend
and indemnify ALON, its Subsidiaries and Affiliates and their respective
directors, officers, employees, agents and

                                      -31-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

other representatives (the "ALON Indemnified Parties"), from and against any
Losses resulting from, associated with or arising out of (i) HEP's failure to
comply with applicable governmental or quasi-governmental laws, regulations or
rules, (ii) bodily injury or death of any Person, including, without limitation,
ALON's and HEP's employees, agents or representatives, (iii) damage to natural
resources or to property of any nature, including, without limitation, that
involving Refined Products and the Refined Product Terminals, Refined Product
Pipelines or other property of HEP, or (iv) discharges, spills, or leaks of
products; in each case (x) regardless of the negligence of any of the ALON
Indemnified Parties, but (y) only to the extent caused by the negligent, gross
negligent or willful acts or omissions of HEP, its employees, agents,
representatives or contractors in the exercise of any of the rights granted
under this Agreement.

         (d) Joint Liability. Under the foregoing indemnities, where the
personal injury to or death of any Person, or loss of or damage to property is
the result of the joint or concurrent negligence or willful acts or omissions of
ALON and HEP, each party's duty of indemnification will be in proportion to its
share of such joint or concurrent negligence, or willful misconduct.

         (e) Procedures relating to Indemnification. To receive the foregoing
indemnities, the party seeking indemnification must notify the other in writing
of a Claim or suit promptly (provided that any failure to provide such notice
shall not limit a party's right to indemnification except to the extent that the
indemnifying party shall have been materially prejudiced thereby) and provide
reasonable cooperation (at the indemnifying party's expense) and full authority
to defend the Claim or suit. Notwithstanding the foregoing, no indemnifying
party shall be entitled to settle any Claim or suit without the consent of the
indemnified party unless such settlement contains a full release of the
indemnified party without any liability for any monetary damages or any type of
equitable relief. Neither party shall have any obligation to indemnify the other
under any settlement made without its written consent.

         (f) Administration of Indemnity Claims. Notwithstanding anything else
in this Section 19, any claims for indemnification pursuant to this Section 19,
(i) on behalf of an ALON Indemnified Party must be made and administered by
ALON, or its successors or assigns as permitted herein, and (ii) on behalf of an
HEP Indemnified Party must be made and administered by HEP, or its successors
and assigns as permitted herein.

         SECTION 20. NOTICES.

         All notices or requests or consents provided for by, or permitted to be
given pursuant to, this Agreement must be in writing and must be given by
depositing same in the United States mail, addressed to the Person to be
notified, postpaid, and registered or certified with return receipt requested or
by delivering such notice in Person or by telecopier or telegram to such party.
Notice given by Personal delivery or mail shall be effective upon actual
receipt. Notice given by telegram or telecopier shall be effective upon actual
receipt if received during the recipient's normal business hours or at the
beginning of the recipient's next business day after receipt if not received
during the recipient's normal business hours. All notices to be sent to a party
pursuant to this Agreement shall be sent to or made at the address set forth
below or at such

                                      -32-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

other address as such party may stipulate to the other parties in the manner
provided in this Section 20:

         if to ALON:                ALON USA, LP
                                    7616 LBJ Freeway, Suite 300
                                    Dallas, Texas 75251
                                    Attn:  Chief Executive Officer
                                    Copy to:  General Counsel
                                    Telecopy:  (972) 367-3723

         if to HEP:                 Holly Energy Partners, L.P.
                                    100 Crescent Court
                                    Suite 1600
                                    Dallas, Texas 75201
                                    Attn:  Bruce Shaw
                                    Telecopy: 214-615-9371

         SECTION 21. MISCELLANEOUS

         (a) Intention as to Refineries. ALON represents to HEP that, as of the
date of this Agreement, they are not considering a shut down of the Refinery,
other than a scheduled maintenance turnaround in the first quarter of 2005, or
any changes to the Refinery that would have a material adverse effect on the
operation of the Refinery.

         (b) Amendments and Waivers. No amendment or modification of this
Agreement shall be valid unless it is in writing and signed by the parties
hereto. No waiver of any provision of this Agreement shall be valid unless it is
in writing and signed by the party against whom the waiver is sought to be
enforced. No failure or delay in exercising any right hereunder, and no course
of conduct, shall operate as a waiver of any provision of this Agreement. No
single or partial exercise of a right hereunder shall preclude further or
complete exercise of that right or any other right hereunder.

         (c) Successors and Assigns. This Agreement shall inure to the benefit
of, and shall be binding upon, ALON, HEP and their respective successors and
permitted assigns. Neither this Agreement nor any of the rights or obligations
hereunder shall be assigned without the prior written consent of the other
parties, which consent may not be unreasonably withheld; provided, however, that
(i) HEP may make such an assignment (including a partial pro rata assignment) to
a Controlled Affiliate of HEP provided that HEP continues to remain liable for
its obligations hereunder, (ii) ALON may make such an assignment (including a
partial pro rata assignment) to a Controlled Affiliate of ALON provided that
ALON continues to remain liable for its obligations hereunder, (iii) ALON may
make such an assignment to any Person to which ALON has sold its Refinery which
relies on the services provided by HEP under this Agreement if such Person (A)
is reasonably capable of performing ALON's obligations under this Agreement
assigned to such Person, which determination shall be made by ALON in its
reasonable

                                      -33-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

judgment and (B) has agreed in writing with HEP to assume the obligations of
ALON assigned to such Person, (iv) ALON may make a collateral assignment of its
rights and obligations hereunder to any bona fide third party lender of ALON,
(v) HEP may make a collateral assignment of its rights and obligations hereunder
and/or grant a security interest in all or a portion of the Refined Product
Pipelines and the Refined Product Terminals to a bona fide third party lender or
debt holder, or a trustee or representative for any of them of HEP if such third
party lender, debt holder or trustee shall have executed and delivered to ALON a
non-disturbance agreement in substantially the form attached to the Contribution
Agreement or in such other form as is reasonably satisfactory to ALON and ALON
executes an acknowledgment of such collateral assignment in such form as may
from time to time be reasonably requested, and (vi) subject to Section 11.6 of
the Contribution Agreement, HEP may assign its rights in connection with a sale
of all or substantially all its assets to a person who (A) is reasonably capable
of performing HEP's obligations under this Agreement assigned to such person,
which determination shall be made by HEP in its reasonable judgment, and (B) has
agreed in writing with ALON to assume the obligations of HEP assigned to such
person. Any attempt to make an assignment of this Agreement otherwise than as
permitted by the foregoing shall be null and void. For purposes of this Section
21(c), an "assignment" shall include any direct or indirect assignment,
transfer, sale, pledge, hypothecation or other disposition of this Agreement or
any rights and obligations hereunder; provided, however, that the consent
requirements set forth in this Section 21(c) shall not apply to any merger, sale
of equity interests, or change of control involving a party hereto. The parties
hereto agree to require their respective successors (including any Person to
which all or any portion of the Refined Product Pipelines or Refined Product
Terminals are to be Transferred), if any, to expressly assume, in a form of
agreement acceptable to the other parties, their obligations under this
Agreement. From and after any assignment permitted or consented to hereunder,
all references to HEP or ALON, as applicable, shall be deemed to refer to such
party's assignee.

         (d) Severability. If any provision of this Agreement shall be held
invalid or unenforceable by a court or regulatory body of competent
jurisdiction, the remainder of this Agreement shall remain in full force and
effect. Upon determination that any term or other provision is invalid or
unenforceable, the parties agree to negotiate in good faith to modify this
Agreement to effect the original intent of the parties as closely as possible in
an acceptable manner so that the transactions contemplated hereby are fulfilled
to the extent possible.

         (e) Choice of Law. This Agreement shall be subject to and governed by
the laws of the State of Texas, excluding any conflicts-of-law rule or principle
that might refer the construction or interpretation of this Agreement to the
laws of another state. Each party hereby submits to the jurisdiction of the
state and federal courts in the State of Texas and to venue in Dallas, Texas.

         (f) Exclusion of Punitive Damages. NEITHER PARTY SHALL BE LIABLE TO THE
OTHER PARTY FOR PUNITIVE OR EXEMPLARY DAMAGES, BY STATUTE, IN TORT OR CONTRACT.

                                      -34-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         (g) Arbitration Provision. Any and all Arbitrable Disputes must be
resolved through the use of binding arbitration using three arbitrators, in
accordance with the Commercial Arbitration Rules of the American Arbitration
Association, as supplemented to the extent necessary to determine any procedural
appeal questions by the Federal Arbitration Act (Title 9 of the United States
Code). If there is any inconsistency between this Section and the Commercial
Arbitration Rules or the Federal Arbitration Act, the terms of this Section will
control the rights and obligations of the parties. Arbitration must be initiated
within the time limits set forth in this Agreement, or if no such limits apply,
then within a reasonable time or the time period allowed by the applicable
statute of limitations. Arbitration may be initiated by a party ("Claimant")
serving written notice on the other party ("Respondent") that the Claimant
elects to refer the Arbitrable Dispute to binding arbitration. Claimant's notice
initiating binding arbitration must identify the arbitrator Claimant has
appointed. The Respondent shall respond to Claimant within 30 days after receipt
of Claimant's notice, identifying the arbitrator Respondent has appointed. If
the Respondent fails for any reason to name an arbitrator within the 30-day
period, Claimant shall petition the American Arbitration Association for
appointment of an arbitrator for Respondent's account. The two arbitrators so
chosen shall select a third arbitrator within 30 days after the second
arbitrator has been appointed. The Claimant will pay the compensation and
expenses of the arbitrator named by or for it, and the Respondent will pay the
compensation and expenses of the arbitrator named by or for it. The costs of
petitioning for the appointment of an arbitrator, if any, shall be paid by
Respondent. The Claimant and Respondent will each pay one-half of the
compensation and expenses of the third arbitrator. All arbitrators must (a) be
neutral parties who have never been officers, directors or employees of any of
ALON, HEP or any of their Affiliates and (b) have not less than seven years
experience in the energy industry. The hearing will be conducted in Dallas,
Texas and commence within 30 days after the selection of the third arbitrator.
ALON, HEP and the arbitrators shall proceed diligently and in good faith in
order that the award may be made as promptly as possible. Except as provided in
the Federal Arbitration Act, the decision of the arbitrators will be binding on
and non-appealable by the parties hereto. The arbitrators shall have no right to
grant or award punitive damages.

         (h) Entire Agreement. This Agreement and the Exhibits hereto constitute
the complete understanding of the parties relating to the subject matter hereof
and supersede all prior oral and written discussions, negotiations,
representations or agreements relating thereto. There are no understandings or
commitments relating to the present subject matter not expressly set forth
herein.

         (i) Drafting. As between the parties, it shall be conclusively presumed
that each and every provision of this Agreement was drafted jointly by the
parties.

         (j) Headings. Section headings contained in this Agreement are for
convenient reference only and shall not in any way affect the meaning or
interpretation of this Agreement.

         (k) Expenses. Except as otherwise set forth herein, each party shall
pay and discharge all liabilities and expenses incurred by or on behalf of it in
connection with the preparation, authorization, execution and performance of
this Agreement and the transactions

                                      -35-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

contemplated herein, including all fees and expenses of agents, representatives,
counsel and accountants.

         (l) Further Assurances. In connection with this Agreement and all
transactions contemplated by this Agreement, each signatory party hereto agrees
to execute and deliver such additional documents and instruments and to perform
such additional acts as may be necessary or appropriate to effectuate, carry out
and perform all of the terms, provisions and conditions of this Agreement and
all such transactions.

         (m) No Personal Liability. Each party acknowledges and agrees that that
in no event shall any Affiliate of either party or any partner, member,
shareholder, owner, officer, director or employee of either party or of any such
Affiliate be personally liable to the other party for any payments, obligations
or performance due under this Agreement or any breach or failure of performance
of either party and the sole recourse for payment or performance of the
obligations under this Agreement shall be against HEP or ALON (as applicable)
and each such party's respective assets and not against any other Person, except
for such liability as expressly assumed by an assignee pursuant to an assignment
of this Agreement in accordance with the terms hereof.

         (n) Counterparts. This Agreement may be executed in two or more
counterparts, each of which when delivered (which deliveries may take place by
facsimile) shall be deemed an original, but all of which shall constitute one
and the same instrument.

         (o) Confidentiality. Each party hereto shall cause, and shall cause
each of its Affiliates and each of their respective officers, directors and
employees, to hold confidential all information relating to the business of the
other party disclosed to it by reason of this Agreement and not disclose any of
such information to any party unless (i) such party obtains the prior written
consent of the other party, or (ii) required to disclose such information by
operation of Applicable Law (including pursuant to the rules of the Securities
Exchange Commission) or pursuant to rules of any securities exchange. If either
party or any of its representatives or affiliates is requested or required by
operation of Applicable Law (including pursuant to the Exchange Act of 1934 or
the rules of the SEC) or pursuant to the rules of any securities exchange to
disclose any Confidential Information, such party shall provide the other party
with prompt written notice of such request or requirement (which shall be
treated as Confidential Information hereunder), which notice shall be at least
48 hours prior to making such disclosure (or in the case of a disclosure
pursuant to the Exchange Act, the rules of the SEC or the rules of any
securities exchange, such time period (which may be shorter than 48 hours but
shall not be longer than 48 hours) as may be reasonably possible), so that the
other party hereto may seek a protective order or other appropriate assurance of
confidential treatment of the information required to be so disclosed and/or
waive compliance with the provisions of this Section 21(o). Notwithstanding the
foregoing, either party shall be entitled to disclose each other's confidential
information with its advisors (legal and accounting), bankers, lenders,
underwriters/purchasers and their respective advisors, provided that they are
notified of the requirements of this Section 21(o) and instructed to keep such
information confidential.

                                      -36-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         (p) Unlawful Actions. Notwithstanding anything in this Agreement to the
contrary, the parties acknowledge and agree that in no event will HEP or ALON
ever be deemed to be in breach of this Agreement for any failure of HEP or ALON
to observe or perform any provision or covenant of this Agreement if such
failure to perform is attributable to any provision in this Agreement, any
tariff, or any Ancillary Document, which is invalid or in violation of
Applicable Law. In such event, or in the event of any action described in
Section 12(b), the parties shall negotiate in good faith in an attempt to agree
to another provision (instead of the provision which is invalid or in violation
of Applicable Law) that is valid and legal and carries out the parties'
intentions under this Agreement.

         (q) Memorandum of Agreement. HEP acknowledges and agrees that ALON
shall have the right to record a memorandum of this Agreement (the form of which
shall be mutually agreed to by the parties) with respect to ALON's rights under
Section 17 and Section 18 in such jurisdictions as ALON shall deem appropriate.

      [Remainder of page intentionally left blank. Signature pages follow.]

                                      -37-

                        PIPELINES AND TERMINALS AGREEMENT

<PAGE>

         IN WITNESS WHEREOF, the undersigned parties have executed this
Agreement as of the date first written above.

                                    ALON USA, LP

                                    By:  ALON USA GP, LLC,
                                            its General Partner

                                    By: /s/ Jeff D. Morris
                                        ----------------------------------------
                                        Jeff D. Morris,
                                        President and Chief Executive Officer

                                    HOLLY ENERGY PARTNERS, L.P.

                                    By: HEP LOGISTICS HOLDINGS, L.P.,
                                            its General Partner

                                            By: HOLLY LOGISTIC SERVICES, L.L.C.,
                                                  its General Partner

                                            By: /s/ Mathew P. Clifton
                                                --------------------------------
                                                Mathew P. Clifton
                                                Chairman of the Board and
                                                Chief Executive Officer

                        PIPELINES AND TERMINALS AGREEMENT

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