Document:

Exhibit 10.5

RESTRICTED STOCK UNIT AGREEMENT

ELECTROMED, INC.

2014 EQUITY INCENTIVE PLAN

          THIS
AGREEMENT, made effective as of this ___ day of ______________, 20___, by and between Electromed,
Inc., a Minnesota corporation (the “Company”), and _____________________
(“Participant”).

W I T N E S S E T
H:

          WHEREAS,
Participant on the date hereof is an Employee, Director of, or Consultant to
the Company or one of its Subsidiaries; and

          WHEREAS,
the Company wishes to grant a restricted stock unit award to Participant for
shares of the Company’s Common Stock pursuant to the Company’s 2014 Equity
Incentive Plan (the “Plan”); and

          WHEREAS,
the Administrator of the Plan has authorized the grant of a restricted stock
unit award to Participant; 

          NOW,
THEREFORE, in consideration of the premises and of the mutual covenants herein
contained, the parties hereto agree as follows:

        1.          Grant of
Restricted Stock Unit Award; Term. The Company hereby grants to
Participant on the date set forth above a restricted stock unit award (the
“Award”) for ________ (_________) restricted stock units on the terms and
conditions set forth herein. Each restricted stock unit shall entitle the
Participant to receive either one share of the Company’s Common Stock or a cash
payment in accordance with Paragraph 3 below. 

        2.          Vesting
of Restricted Stock Units.

                     a.          General.
The restricted stock units subject to this Award shall vest according to the
following schedule: 

	
  

 	
  

 	
  

 	
  

 	
  

 
	
  

 	
 Specified Date or Achievement
(each, a
 “Vesting Time”)

 	
  

 	
 Number of Units
that Vest 

 	
  

 
	
  

 	
  

 	
  

 	
  

 	
  

 
	
  

 	
 [Exact time/procedures for certifying achievement should be
 determined when Award is approved and specified in this Section]

 	
  

 	
 [To be completed]

 	
  

 

                         b.          Termination
of Relationship. If Participant ceases to be [an Employee] [a Consultant] [a Director]
of the Company or any Subsidiary at any time during the term of the Award, for
any reason, this Award shall terminate and all restricted stock units subject
to this Award that have not vested shall be forfeited by Participant. 

          3.             Issuance of Shares or Payment. Upon
each Vesting Time, the Company shall cause to be issued and delivered to Participant
a stock certificate (or, upon request and if permitted in the Administrator’s
discretion, an entry to be made in the books of the Company or its designated
agent) representing that number of shares of Common Stock which is equivalent
to the number of restricted stock units that have vested, less any shares
withheld for payment of taxes as provided in Section 4(e) below, and shall
deliver such certificate to Participant. Until the Vesting Time, Participant
shall not be entitled to vote the shares of Common Stock represented by such
restricted stock units, shall not be entitled to receive dividends attributable
to such shares of Common Stock, and shall not have any other rights as a
shareholder with respect to such shares. 

                          Alternatively,
the Company may, in its sole discretion, pay Participant a lump sum payment, in
cash, equal to the Fair Market Value of that number of shares of Common Stock
which is equivalent to the number of restricted stock units that have vested,
subject to the withholding provisions of Section 4(f) below. Such Fair Market
Value shall be determined as of each Vesting Time. If the Company makes such
cash payment, the Participant shall not be entitled to vote the shares of
Common Stock represented by such restricted stock units, shall not be entitled
to receive dividends attributable to such shares of Common Stock, and shall not
have any other rights as a shareholder with respect to such shares, whether
before or after the Vesting Time. 

                          The
Company will issue shares of Common Stock or make a cash payment pursuant to
this Award as soon as practicable following the applicable Vesting Time, but in
no event beyond 2 1⁄2 months after the end of the calendar year in which the
Vesting Time occurs.

          4.          General
Provisions.

                          a.          Employment
or Other Relationship. This Agreement shall not confer on
Participant any right with respect to continuance of employment or any other
relationship by the Company or any of its Affiliates, nor will it interfere in
any way with the right of the Company to terminate such employment or
relationship. Nothing in this Agreement shall be construed as creating an
employment or service contract for any specified term between Participant and
the Company or any Affiliate. 

                          b.          280G Limitations. Notwithstanding
anything in the Plan, this Agreement or in any other agreement, plan, contract
or understanding entered into from time to time between Participant and the
Company or any of its Subsidiaries to the contrary (except an agreement that
expressly modifies or excludes the application of this Paragraph 4(b)), the
vesting of this Award shall
not be accelerated in connection with a Change of Control to the extent that
such acceleration, taking into account all other rights, payments and benefits
to which Participant is entitled under any other plan or agreement, would
constitute a “parachute payment” or an “excess parachute payment” for purposes
of Code Sections 280G and 4999, or any successor provisions, and the
regulations issued thereunder; provided, however, that the Administrator, in
its sole discretion and in accordance with applicable law, may modify or
exclude the application of this Paragraph 4(b).

                          c.          Securities
Law Compliance. Participant shall not transfer or otherwise
dispose of the shares of Common Stock received pursuant to this Award until
such time as the Company and its counsel shall have determined that such
transfer or other disposition will not violate any state or federal securities
laws. Participant may be required by the Company, as a condition of the
effectiveness of this Award, to give any written assurances that are necessary
or desirable in the opinion of the Company and its counsel to ensure the
issuance complies with applicable securities laws, including that all Common
Stock subject to this Award shall be held, until such time that such Common
Stock is registered and freely tradable under applicable state and federal
securities laws, for Participant’s own account without a view to any further
distribution thereof; that the certificates (or, if permitted, book entries)
for such shares shall bear an appropriate legend or notation to that effect;
and that such shares will be not transferred or disposed of except in
compliance with applicable state and federal securities laws. 

                          d.          Mergers,
Recapitalizations, Stock Splits, Etc. Except as otherwise specifically provided in any employment,
change of control, severance or similar agreement executed by Participant and
the Company, pursuant and subject to Section 13 of the Plan, certain changes in
the number or character of the shares of Common Stock of the Company (through
merger, consolidation, exchange, reorganization, divestiture (including a
spin-off), liquidation, recapitalization, stock split, stock dividend or
otherwise) shall result in an adjustment, reduction or enlargement, as
appropriate, in Participant’s rights with respect to any unvested restricted
stock units subject to this Award (i.e., Participant shall have such
“anti-dilution” rights under the Award with respect to such events, but shall
not have “preemptive “ rights).

                          e.          Shares
Reserved. The Company shall at all times during the term of this
Agreement reserve and keep available such number of shares as will be
sufficient to satisfy the requirements of this Agreement.

                          f.          Withholding
Taxes. To permit the Company to comply with all applicable
federal and state income tax laws or regulations, the Company may take such
action as it deems appropriate to ensure that, if necessary, all applicable
federal and state payroll, income or other taxes attributable to this Award are
withheld from any amounts payable by the Company to Participant. If the Company
is unable to withhold such federal and state taxes, for whatever reason, the
Participant hereby agrees to pay to the Company an amount equal to the amount
the Company would otherwise be required to withhold under federal or state law
prior to the issuance of any certificates (or, if permitted, book entries) for
the shares of Common Stock subject to this Award. Subject to such rules as the
Administrator may adopt, the Administrator may, in its sole discretion, permit
Participant to satisfy such withholding tax obligations, in whole or in part,
by delivering shares of the Company’s Common Stock, including shares of Common
Stock received pursuant to this Award, having a Fair Market Value, as of the
date the amount of tax to be withheld is determined under applicable tax law,
equal to the statutory minimum amount required to be withheld for tax purposes.
In no event may Participant deliver shares having a Fair Market Value in excess
of such statutory minimum required tax withholding. Participant’s election to
deliver shares or to have shares withheld for this purpose shall be made on or
before the date that the amount of tax to be withheld is determined under
applicable tax law, and shall be irrevocable as of such date if approved by the
Administrator. Such election shall comply with such rules as the Administrator
may adopt to assure compliance with Rule 16b-3, if applicable.

                          g.          Nontransferability. No portion of this
Award that has not vested may be assigned or transferred, in whole or in part,
other than by will or by the laws of descent and distribution. 

                          h.          2014
Equity Incentive Plan. The Award evidenced by this Agreement is
granted pursuant to the Plan, a copy of which Plan has been made available to
Participant and is hereby incorporated into this Agreement. This Agreement is
subject to and in all respects limited and conditioned as provided in the Plan.
All capitalized terms in this Agreement not defined herein shall have the
meanings ascribed to them in the Plan. The Plan governs this Agreement and, in
the event of any questions as to the construction of this Agreement or in the
event of a conflict between the Plan and this Agreement, the Plan shall govern,
except as the Plan otherwise provides.

                          i.          Lockup
Period Limitation. Participant agrees that in the event the
Company advises Participant that it plans an underwritten public offering of
its Common Stock in compliance with the Securities Act of 1933, as amended,
Participant will execute any lock-up agreement the Company and the
underwriter(s) deem necessary or appropriate, in their sole discretion, in
connection with such public offering. 

                          j.          Blue Sky
Limitation. Notwithstanding anything in this Agreement to the
contrary, in the event the Company makes any public offering of its securities
and determines, in its sole discretion, that it is necessary to reduce the
number of issued but unvested restricted stock units so as to comply with any
state securities or Blue Sky law limitations with respect thereto, the Board of
Directors of the Company shall accelerate the vesting of this restricted stock
unit award, provided that the Company gives Participant 15 days’ prior written
notice of such acceleration. Notice shall be deemed given when delivered
personally or when deposited in the United States mail, first class postage
prepaid and addressed to Participant at the address of Participant on file with
the Company.

                          k.          Affiliates.
Participant agrees that, if Participant is an “affiliate” of the Company or any
Affiliate (as defined in applicable legal and accounting principles) at the
time of a Change of Control (as defined in Section 1(f) of the Plan),
Participant will comply with all requirements of Rule 145 of the Securities Act
of 1933, as amended, and the requirements of such other applicable legal or
accounting principles, and will execute any documents necessary to ensure such
compliance.

                          l.          Stock
Legend. The Administrator may require that the certificates for
any shares of Common Stock issued to Participant (or, in the case of death,
Participant’s successors) under this Agreement shall bear an appropriate legend
to reflect the restrictions of Paragraph 4(c) and Paragraphs 4(i) through 4(k)
of this Agreement; provided, however, that failure to so endorse any of such
certificates shall not render invalid or inapplicable Paragraph 4(c) or
Paragraphs 4(i) through 4(k). 

                          m.          Scope of
Agreement. This Agreement shall bind and inure to the benefit of
the Company and its successors and assigns and Participant and any successor or
successors of Participant permitted by this Agreement. This Award is expressly
subject to all terms and conditions contained in the Plan and in this
Agreement, and Participant’s failure to execute this Agreement shall not
relieve Participant from complying with such terms and conditions.

                          n.          Choice of Law. The law of the state of
Minnesota shall govern all questions concerning the construction, validity, and
interpretation of this Plan, without regard to that state’s conflict of laws
rules. 

                          o.          Severability. In the event that any provision of this Plan
shall be held illegal or invalid for any reason, such illegality or invalidity
shall not affect the remaining provisions of this Plan, and the Plan shall be
construed and enforced as if the illegal or invalid provision had not been
included. 

                          p.          Arbitration.
Any dispute arising out of or relating to this Agreement or the alleged breach
of it, or the making of this Agreement, including claims of fraud in the
inducement, shall be discussed between the disputing parties in a good faith
effort to arrive at a mutual settlement of any such controversy. If,
notwithstanding, such dispute cannot be resolved, such dispute shall be settled
by binding arbitration. Judgment upon the award rendered by the arbitrator may
be entered in any court having jurisdiction thereof. The arbitrator shall be a
retired state or federal judge or an attorney who has practiced securities or
business litigation for at least 10 years. If the parties cannot agree on an
arbitrator within 20 days, any party may request that the chief judge of the
District Court of Scott County, select an arbitrator. Arbitration will be
conducted pursuant to the provisions of this Agreement, and the commercial
arbitration rules of the American Arbitration Association, unless such rules
are inconsistent with the provisions of this Agreement. Limited civil discovery
shall be permitted for the production of documents and taking of depositions.
Unresolved discovery disputes may be brought to the attention of the arbitrator
who may dispose of such dispute. The arbitrator shall have the authority to award
any remedy or relief that a court of this state could order or grant; provided,
however, that punitive or exemplary damages shall not be awarded. The
arbitrator may award to the prevailing party, if any, as determined by the
arbitrator, all of its costs and fees, including the arbitrator’s fees,
administrative fees, travel expenses, out-of-pocket expenses and reasonable
attorneys’ fees. Unless otherwise agreed by the parties, the place of any
arbitration proceedings shall be Scott County, Minnesota.

***Signature Page Follows***

          ACCORDINGLY,
the parties hereto have caused this Agreement to be executed on the day and
year first above written.

	
  

 	
  

 	
  

 	
  

 
	
  

 	
 ELECTROMED,
 INC.

 
	
  

 	
  

 
	
  

 	
 By:

 	
  

 
	
  

 	
  

 	
 Its:

 	
  

 
	
  

 	
  

 
	
  

 	
  

 
	
  

 	
 Participant

 

[Signature Page to Restricted Stock Unit
Agreement]EX-10.1

 Exhibit 10.1 

FIFTH AMENDMENT TO 

SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

dated as of 
 November
24, 2014 
 among 

ATLAS RESOURCE PARTNERS, L.P., 

as Borrower, 
 THE
LENDERS PARTY HERETO, 
 and 

WELLS FARGO BANK, NATIONAL ASSOCIATION, 

as Administrative Agent 

JPMORGAN CHASE BANK, N.A., and 

BANK OF AMERICA, N.A., 

as Co-Documentation Agents 

WELLS FARGO SECURITIES, LLC, 

DEUTSCHE BANK SECURITIES INC., and 

CITIBANK GLOBAL MARKETS, INC., 

as Joint Lead Arrangers and Joint Bookrunners 

 FIFTH AMENDMENT TO 

SECOND AMENDED AND RESTATED CREDIT
AGREEMENT 
 This FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT (this “Fifth Amendment”), dated as of November 24, 2014 (the “Fifth Amendment
Effective Date”), is among ATLAS RESOURCE PARTNERS, L.P., a limited partnership formed under the laws of the State of Delaware (the “Borrower”); each of the undersigned
guarantors (the “Guarantors”, and together with the Borrower, the “Loan Parties”); each of the Lenders that is a signatory hereto; and WELLS FARGO BANK,
NATIONAL ASSOCIATION, as administrative agent for the Lenders (in such capacity, together with its successors, the “Administrative Agent”). 

Recitals 
 A. The
Borrower, the Administrative Agent and the Lenders are parties to that certain Second Amended and Restated Credit Agreement dated as of July 31, 2013 (as amended prior to the date hereof, the “Credit Agreement”), pursuant to
which the Lenders have, subject to the terms and conditions set forth therein, made certain credit available to and on behalf of the Borrower. 

B. The parties hereto desire to enter into this Fifth Amendment to amend the Credit Agreement in certain respects as set forth herein to be
effective as of the Fifth Amendment Effective Date. 
 NOW, THEREFORE, in consideration of the premises and the mutual covenants herein
contained, for good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, the parties hereto agree as follows: 

Section 1. Defined Terms. Each capitalized term which is defined in the Credit Agreement, but which is not defined in this Fifth
Amendment, shall have the meaning ascribed such term in the Credit Agreement, as amended hereby. Unless otherwise indicated, all section references in this Fifth Amendment refer to the Credit Agreement. 

Section 2. Amendments. In reliance on the representations, warranties, covenants and agreements contained in this Fifth Amendment,
and subject to the satisfaction of the conditions precedent set forth in Section 3 hereof, the Credit Agreement shall be amended effective as of the Fifth Amendment Effective Date in the manner provided in this Section 2.

 2.1 Additional Definitions. Section 1.02 of the Credit Agreement is hereby amended to add thereto in alphabetical order the
following definitions which shall read in full as follows: 
 “Fifth Amendment” means that certain Fifth
Amendment to Second Amended and Restated Credit Agreement dated as of November 24, 2014, among the Borrower, the Guarantors, the Administrative Agent and the Lenders party thereto. 

“Fifth Amendment Effective Date” means November 24, 2014. 

 “New Parent” means the Person that is identified by the Borrower
to the Administrative Agent as New Parent pursuant to Section 8.01(t); provided that such Person shall either be (a) the General Partner or (b) any other Person that is organized under the laws of the United States of America
or any state thereof that Controls the Borrower and is acceptable to the Majority Lenders in their sole discretion. For purposes of this definition, “Control” shall be deemed to be used without giving effect to the second sentence of the
definition thereof. 
 “Predecessor Parent” means Atlas Energy, L.P., a Delaware limited partnership, whose
organizational identification number with the Delaware Secretary of State is 4078283. 
 “Separation
Agreement” has the meaning given to such term in the Targa Merger Agreement, which agreement shall be substantially in the form attached as Exhibit 2.1 to the Form 10 filed by the General Partner with the SEC on November 5, 2014 (with
schedules thereto being substantially in the form of the draft schedules attached to the version of the Separation Agreement attached as Annex A to the Targa Merger Agreement as of October 13, 2014), without giving effect to any amendments or
other modifications thereto other than any amendments or other modifications that could not reasonably be expected to be materially adverse to the interests of the Lenders in their capacities as such. 

“Targa Merger Agreement” means that certain Agreement and Plan of Merger dated as of October 13, 2014
among Targa Resources Corp., Trident GP Merger Sub LLC, Predecessor Parent and Atlas Energy GP, LLC, without giving effect to any subsequent amendments or other modifications thereto, other than any amendments or other modifications that could not
reasonably be expected to be materially adverse to the interests of the Lenders in their capacities as such; provided, that, any amendment or modification thereto to replace or otherwise amend the form of Separation Agreement attached thereto
so that it is substantially in the form of the Separation Agreement that is attached as Exhibit 2.1 to the Form 10 filed by the General Partner with the SEC on November 5, 2014 shall be deemed not to be materially adverse to the interests of
the Lenders in their capacities as such. 
 “Targa Transactions” means (a) the contribution by
Predecessor Parent of all of its assets, businesses and liabilities other than those related to its “Atlas Pipeline Partners” segment (and other than any other assets, business or liabilities not required to be contributed pursuant to the
terms of the Separation Agreement) to New Parent (and/or one or more subsidiaries thereof other than the Borrower and its Subsidiaries) pursuant to the Separation Agreement, (b) following the transactions described in the foregoing clause (a),
the pro rata distribution, pursuant to the Separation Agreement, of the common units of the New Parent (which represent one hundred percent (100%) of the limited liability company interest in the New Parent) to the holders of record of the
common units of the Predecessor Parent immediately prior to giving effect to the Targa Transactions, and (c) following the transactions described in the foregoing clause (a), the 

 
acquisition of Predecessor Parent by Targa Resources Corp., whether consummated by merger of Predecessor Parent with Trident GP Merger Sub LLC (as a result of which 100% of the Equity Interests
in Predecessor Parent will be directly or indirectly owned by Targa Resources Corp.), or otherwise consummated pursuant to the Targa Merger Agreement. 

2.2 Restated Definitions. The definitions of “General Partner”, “Loan Documents” and
“Parent” contained in Section 1.02 of the Credit Agreement are hereby amended and restated in their entirety to read in full as follows: 

“General Partner” means Atlas Energy Group, LLC, a Delaware limited liability company and
successor-by-name-change to Atlas Resource Partners GP, LLC. 
 “Loan Documents” means this Agreement, the
First Amendment, the Second Amendment, the Third Amendment, the Fourth Amendment, the Fifth Amendment, the Notes, if any, the Letter of Credit Agreements, the Letters of Credit, the Security Instruments, the Intercreditor Agreement, and any and all
other material agreements or instruments now or hereafter executed and delivered by any Loan Party or any other Person (other than Swap Agreements or agreements regarding the provision of Bank Products with the Lenders or any Affiliate of a Lender
or participation or similar agreements between any Lender and any other lender or creditor with respect to any Indebtedness pursuant to this Agreement) in connection with the Indebtedness, this Agreement and the transactions contemplated hereby, as
such agreements may be amended, modified, supplemented or restated from time to time. 
 “Parent” means
(a) prior to the consummation of the Targa Transactions, Predecessor Parent, and (b) from and after the consummation of the Targa Transactions, New Parent. 

2.3 Amendment to Definition. The definition of “Change of Control” contained in Section 1.02 of the Credit
Agreement is hereby amended by amending and restating clause (e) thereof in its entirety to read in full as set forth below: 

(e) except as permitted by clause (d) above and unless the Parent is the General Partner, the Parent, the Borrower, or one
or more of each of their Affiliates, ceases to own at least 51% of the Equity Interests of the General Partner. 
 2.4 Amendment to
Information Covenant. Section 8.01 of the Credit Agreement is hereby amended to add a new clause (t) to such Section immediately following clause (s) thereof, which shall read in its entirety as follows: 

(t) Targa Transactions. Prompt written notice (and in any event within two Business Days) of the consummation of the
Targa Transactions, which notice shall include (i) a certification of the Borrower that attached to such notice is a true, correct and complete copy of the final, executed Separation Agreement 

 
and all material agreements executed in connection therewith and (ii) a designation by the Borrower of which entity shall constitute the “New Parent” and “Parent”
hereunder from and after the consummation of the Targa Transactions. 
 2.5 Amendment to Section 9.02(h). Clause (iii) of
Section 9.02(h) of the Credit Agreement is hereby amended and restated in its entirety to read in full as follows: 

(iii) such Debt does not contain mandatory redemption events that require redemption of such Debt prior to 120 days after the
Maturity Date (other than provisions requiring offers to repurchase in connection with asset sales or any change of control), 

Section 3. Conditions Precedent. The effectiveness of the amendments contained in Section 2 hereof is subject to the
following: 
 3.1 The Administrative Agent shall have received duly executed counterparts of this Fifth Amendment from the Loan Parties and
the Majority Lenders. 
 3.2 The Administrative Agent shall have received all fees and other amounts due and payable on or prior to the
Fifth Amendment Effective Date, including the amendment fee referred to in Section 3.3 below. 
 3.3 The Administrative Agent
shall have received an amendment fee for the benefit of the Lenders executing this Fifth Amendment on or prior to the Fifth Amendment Effective Date in an amount for each such Lender equal to 5 basis points (0.05%) of the amount of such
Lender’s Applicable Percentage of the Borrowing Base as of the Fifth Amendment Effective Date. 
 3.4 The conditions set forth in
Section 6.02(a)(i) and (ii) of the Credit Agreement shall be satisfied. 
 Section 4. Miscellaneous. 

4.1 Confirmation and Effect. The provisions of the Credit Agreement (as amended by this Fifth Amendment) shall remain in full force and
effect in accordance with its terms following the effectiveness of this Fifth Amendment, and this Fifth Amendment shall not constitute a waiver of any provision of the Credit Agreement or any other Loan Document, except as expressly provided for
herein. Each reference in the Credit Agreement to “this Agreement”, “hereunder”, “hereof’, “herein”, or words of like import shall mean and be a reference to the Credit Agreement as amended hereby, and each
reference to the Credit Agreement in any other document, instrument or agreement executed and/or delivered in connection with the Credit Agreement shall mean and be a reference to the Credit Agreement as amended hereby. 

4.2 Ratification and Affirmation of Loan Parties. Each of the Loan Parties hereby expressly (a) acknowledges the terms of this
Fifth Amendment, (b) ratifies and affirms its obligations under the Guaranty Agreement and the other Loan Documents to which it is a party, (c) acknowledges, renews and extends its continued liability under the Guaranty Agreement and

 
the other Loan Documents to which it is a party, (d) agrees that its guarantee under the Guaranty Agreement and the other Loan Documents to which it is a party remains in full force and
effect with respect to the Indebtedness as amended hereby, (e) represents and warrants to the Lenders and the Administrative Agent that each representation and warranty of such Loan Party contained in the Credit Agreement and the other Loan
Documents to which it is a party is true and correct as of the date hereof and after giving effect to the amendments set forth in Section 2 hereof (other than representations and warranties that were made as of a specific date, in which
case such representations and warranties were true and correct when made), (f) represents and warrants to the Lenders and the Administrative Agent that the execution, delivery and performance by such Loan Party of this Fifth Amendment are
within such Loan Party’s corporate, limited partnership or limited liability company powers (as applicable), have been duly authorized by all necessary action and that this Fifth Amendment constitutes the valid and binding obligation of such
Loan Party enforceable in accordance with its terms, except as the enforceability thereof may be limited by bankruptcy, insolvency or similar laws affecting creditor’s rights generally, and (g) represents and warrants to the Lenders and
the Administrative Agent that immediately before and after giving effect to this Fifth Amendment, no Default, Event of Default or Borrowing Base Deficiency exists. 

4.3 Counterparts. This Fifth Amendment may be executed by one or more of the parties hereto in any number of separate counterparts, and
all of such counterparts taken together shall be deemed to constitute one and the same instrument. Delivery of this Fifth Amendment by facsimile or electronic (e.g. pdf) transmission shall be effective as delivery of a manually executed original
counterpart hereof. 
 4.4 No Oral Agreement. THIS WRITTEN FIFTH
AMENDMENT, THE CREDIT AGREEMENT AND THE OTHER LOAN DOCUMENTS EXECUTED IN
CONNECTION HEREWITH AND THEREWITH REPRESENT THE FINAL AGREEMENT BETWEEN THE PARTIES
AND MAY NOT BE CONTRADICTED BY EVIDENCE OF PRIOR, CONTEMPORANEOUS, OR
UNWRITTEN ORAL AGREEMENTS OF THE PARTIES. THERE ARE NO SUBSEQUENT ORAL
AGREEMENTS BETWEEN THE PARTIES. 
 4.5 Governing Law. THIS
FIFTH AMENDMENT (INCLUDING, BUT NOT LIMITED TO, THE VALIDITY AND ENFORCEABILITY
HEREOF) SHALL BE GOVERNED BY, AND CONSTRUED IN ACCORDANCE WITH, THE
LAWS OF THE STATE OF NEW YORK. 

4.6 Payment of Expenses. The Borrower agrees to pay or reimburse the Administrative Agent for all of its out-of-pocket costs and
expenses incurred in connection with this Fifth Amendment, any other documents prepared in connection herewith and the transactions contemplated hereby, including, without limitation, the reasonable fees and disbursements of counsel to the
Administrative Agent. 
 4.7 Severability. Any provision of this Fifth Amendment which is prohibited or unenforceable in any
jurisdiction shall, as to such jurisdiction, be ineffective to the extent of such prohibition or unenforceability without invalidating the remaining provisions hereof, and any such prohibition or unenforceability in any jurisdiction shall not
invalidate or render unenforceable such provision in any other jurisdiction. 

 4.8 Successors and Assigns. This Fifth Amendment shall be binding upon and inure to the
benefit of the parties hereto and their respective successors and assigns. 
 [Signature pages follow] 

 The parties hereto have caused this Fifth Amendment to be duly executed as of the day and year
first above written. 
  

									
	BORROWER:	 		 	ATLAS RESOURCE PARTNERS, L.P.
				
		 		 	By:	 	 Atlas Energy Group, LLC,
 its
general partner

					
		 		 		 	By:	 	 /s/ Sean McGrath

		 		 		 	Name:	 	Sean McGrath
		 		 		 	Title:	 	Chief Financial Officer

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	ATLAS ENERGY HOLDINGS OPERATING COMPANY, LLC, a Delaware limited liability company
	
	ATLAS ENERGY COLORADO, LLC, a Colorado limited liability company
	
	ATLAS ENERGY INDIANA, LLC, an Indiana limited liability company
	
	ATLAS ENERGY OHIO, LLC, an Ohio limited liability company
	
	ATLAS ENERGY TENNESSEE, LLC, a Pennsylvania limited liability company
	
	ATLAS NOBLE, LLC, a Delaware limited liability company
	
	ATLAS RESOURCES, LLC, a Pennsylvania limited liability company
	
	REI-NY, LLC, a Delaware limited liability company
	
	RESOURCE ENERGY, LLC, a Delaware limited liability company
	
	RESOURCE WELL SERVICES, LLC, a Delaware limited liability company
	
	VIKING RESOURCES, LLC, a Pennsylvania limited liability company
	
	ARP BARNETT, LLC, a Delaware limited liability company
	
	ARP OKLAHOMA, LLC, an Oklahoma limited liability company
	
	ARP BARNETT PIPELINE, LLC, a Delaware limited liability company
	
	ATLAS BARNETT, LLC, a Texas limited liability company
	
	ARP PRODUCTION COMPANY, LLC, a Delaware limited liability company
	
	ARP MOUNTAINEER PRODUCTION, LLC, a Delaware limited liability company
	
	ARP RANGELY PRODUCTION, LLC, a Delaware limited liability company
	
	ARP EAGLE FORD, LLC, a Texas limited liability company
		
	By:	 	 /s/ Sean McGrath

		 	Sean McGrath
		 	Chief Financial Officer

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	WELLS FARGO BANK, NATIONAL ASSOCIATION, as a Lender, as Administrative Agent and an Issuing Bank
		
	By:	 	 /s/ Matthew W. Coleman

		 	Matthew W. Coleman
		 	Director

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	CITIBANK, N.A., as a Lender and an Issuing Bank
		
	By:	 	 /s/ John Miller

	Name:	 	 John Miller

	Title:	 	 Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	JPMORGAN CHASE BANK, N.A.,
	as a Lender and an Issuing Bank
		
	By:	 	 /s/ Jo Linda Papadakis

	Name:	 	 Jo Linda Papadakis

	Title:	 	 Authorized Officer

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	BANK OF AMERICA, N.A., as a Lender
		
	By:	 	 /s/ Kenneth Phelan

	Name:	 	 Kenneth Phelan

	Title:	 	 Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	NATIXIS, as a Lender
		
	By:	 	 /s/ Stuart Murray

	Name:	 	 Stuart Murray

	Title:	 	 Managing Director

		
	By:	 	 /s/ Vikram Nath

	Name:	 	 Vikram Nath

	Title:	 	 Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	SANTANDER BANK, N.A., formerly known as Sovereign Bank, N.A., as a Lender
		
	By:	 	 /s/ Aidan Lanigan

	Name:	 	 Aidan Lanigan

	Title:	 	 SVP

		
	By:	 	 /s/ Puiki Lok

	Name:	 	 Puiki Lok

	Title:	 	 VP

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	CAPITAL ONE, NATIONAL ASSOCIATION, as a Lender
		
	By:	 	 /s/ Matthew L. Molero

	Name:	 	 Matthew L. Molero

	Title:	 	 Sr. Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	DEUTSCHE BANK AG NEW YORK BRANCH, as a Lender
		
	By:	 	 /s/ Kirk L. Tashijan

	Name:	 	 Kirk L. Tashijan

	Title:	 	 Vice President

		
	By:	 	 /s/ Peter Cucchiara

	Name:	 	 Peter Cucchiara

	Title:	 	 Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	COMERICA BANK, as a Lender
		
	By:	 	 /s/ John S. Lesikar

	Name:	 	 John S. Lesikar

	Title:	 	 Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	ABN AMRO CAPITAL USA LLC, as a Lender
		
	By:	 	 /s/ Darrell Holley

	Name:	 	 Darrell Holley

	Title:	 	 Managing Director

		
	By:	 	 /s/ Elizabeth Johnson

	Name:	 	 Elizabeth Johnson

	Title:	 	 Director

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	SUNTRUST BANK, as a Lender
		
	By:	 	 /s/ Shannon Juhan

	Name:	 	 Shannon Juhan

	Title:	 	 Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	ROYAL BANK OF CANADA, as a Lender
		
	By:	 	 /s/ Evans Swann, Jr.

	Name:	 	 Evans Swann, Jr.

	Title:	 	 Authorized Signatory

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	COMPASS BANK, as a Lender
		
	By:	 	 /s/ Umar Hassan

	Name:	 	 Umar Hassan

	Title:	 	 Senior Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	CADENCE BANK, N.A., as a Lender
		
	By:	 	 /s/ Steven Taylor

	Name:	 	 Steven Taylor

	Title:	 	 Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	CANADIAN IMPERIAL BANK OF COMMERCE, NEW YORK BRANCH, as a Lender
		
	By:	 	 /s/ Daria Mahoney

	Name:	 	 Daria Mahoney

	Title:	 	 Authorized Signatory

		
	By:	 	 /s/ William Reid

	Name:	 	 William Reid

	Title:	 	 Authorized Signatory

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	ING CAPITAL LLC, as a Lender
		
	By:	 	 /s/ Juli Bieser

	Name:	 	 Juli Bieser

	Title:	 	 Director

		
	By:	 	 /s/ Charles Hall

	Name:	 	 Charles Hall

	Title:	 	 Managing Director

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	THE HUNTINGTON BANK, as a Lender
		
	By:	 	 /s/ Margaret Niekrash

	Name:	 	 Margaret Niekrash

	Title:	 	 Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	BRANCH BANKING AND TRUST COMPANY, as a Lender
		
	By:	 	 /s/ Ryan K. Michael

	Name:	 	 Ryan K. Michael

	Title:	 	 Senior Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	THE BANK OF NOVA SCOTIA, as a Lender
		
	By:	 	 /s/ Mark Sparrow

	Name:	 	 Mark Sparrow

	Title:	 	 Director

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	WHITNEY BANK, as a Lender
		
	By:	 	 /s/ David E. Sigler

	Name:	 	 David E. Sigler

	Title:	 	 Senior Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	PNC BANK, NATIONAL ASSOCIATION, as a Lender
		
	By:	 	 /s/ Jonathan Luchansky

	Name:	 	 Jonathan Luchansky

	Title:	 	 Assistant Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P. 

 
			
	ONEWEST BANK N.A., as a Lender
		
	By:	 	 /s/ Whitney Randolph

	Name:	 	 Whitney Randolph

	Title:	 	 Senior Vice President

  

SIGNATURE PAGE TO FIFTH AMENDMENT TO
SECOND AMENDED AND RESTATED CREDIT AGREEMENT 

ATLAS RESOURCE PARTNERS, L.P.

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