In consideration of an Investor’s execution and delivery of this Agreement and acquiring the Securities hereunder and in addition to all of the Company’s other obligations under the Transaction Documents to which it is a party, subject to the provisions of this Section 8.2, the Company shall indemnify and hold harmless each Investor, each of its directors, officers, shareholders, members, partners, employees, representatives, agents and advisors (and any other Persons with a functionally equivalent role of a Person holding such titles notwithstanding the lack of such title or any other title), each Person, if any, who controls the Investor (within the meaning of Section 15 of the 1933 Act or Section 20(a) of the 1934 Act), and the respective directors, officers, shareholders, members, partners, employees, representatives, agents and advisors (and any other Persons with a functionally equivalent role of a Person holding such titles notwithstanding the lack of such title or any other title) of such controlling Persons (each, an “ Investor Party ”), from and against all losses, liabilities, obligations, claims, contingencies, damages, costs and expenses (including all judgments, amounts paid in settlement, court costs, reasonable attorneys’ fees and costs of defense and investigation) (collectively, “ Damages ”) that any Investor Party may suffer or incur as a result of or relating to (a) any breach of any of the representations, warranties, covenants or agreements made by the Company in this Agreement or in the other Transaction Documents to which it is a party, or (b) any action, suit, claim or proceeding (including for these purposes a derivative action brought on behalf of the Company) instituted against such Investor Party arising out of or resulting from the execution, delivery, performance or enforcement of the Transaction Documents, other than claims for indemnification within the scope of Section 6 of the Registration Rights Agreement; provided , however , that (x) the foregoing indemnity shall not apply to any Damages to the extent, but only to the extent, that such Damages resulted directly and primarily from a breach of any of the Investor’s representations, warranties, covenants or agreements contained in this Agreement or the Registration Rights Agreement, and (y) the Company shall not be liable under this Section 8.2 to the extent, but only to the extent, that a court of competent jurisdiction shall have determined by a final judgment (from which no further appeals are available) that such Damages resulted directly and primarily from any acts or failures to act, undertaken or omitted to be taken by such Investor Party through its fraud, bad faith, gross negligence, or willful or reckless misconduct.