8 . Commitments and Contingencies Purchase Commitments The Company entered into agreements with a vendor and a CMO for the supplies of raw materials and manufacturing of commercial supply of UDENYCA  . As of June 30, 2019, the Companys contractual obligations under the terms of the agreements were as follows (in thousands): Years ending December 31, Remainder of 2019 $ 9,845 2020 24,975 2021 600 2022 600 Total obligations $ 36,020 The Company enters into contracts in the normal course of business with contract research organizations for preclinical studies and clinical trials and contract manufacturing organizations for the manufacture of clinical trial materials. The contracts are cancellable, with varying provisions regarding termination. If a contract with a specific vendor were to be terminated, the Company would only be obligated for products or services that the Company had received as of the effective date of the termination and any applicable cancellation fees. Contingencies On March 3, 2017, Amgen Inc. and Amgen USA Inc. (collectively Amgen) filed an action against the Company, KBI BioPharma Inc., the Companys employee Howard S. Weiser and Does 1-20 in the Superior Court of the State of California, County of Ventura. The complaint alleges that the Company engaged in unfair competition and improperly solicited and hired certain former Amgen employees in order to acquire and access trade secrets and other confidential information belonging to Amgen. On June 1, 2017, Amgen filed a Second Amended Complaint, which alleges as to Coherus (i) unfair competition under California Business and Professions Code Section 17200 et seq., (ii) misappropriation of trade secrets, (iii) aiding and abetting breach of duty of loyalty and (iv) tortious interference with contract. As to defendant Weiser, the Second Amended Complaint alleges (i) unfair competition under California Business and Professions Code Section 17200 et seq., (ii) misappropriation of trade secrets, (iii) breach of contract, (iv) violation of Penal Code Section 502 and (v) breach of duty of loyalty. KBI BioPharma Inc. is not named as a defendant in the Second Amended Complaint. The Second Amended Complaint seeks injunctive relief and monetary damages. Although Amgen has indicated it intends to seek a preliminary injunction, no motion has been filed yet. The court has set a trial date of April 22, 2019. On May 2, 2019, the Company and Amgen settled the trade secret action brought by Amgen. The details of the settlement are confidential but the Company will continue to market UDENYCA  and will pay a mid-single digit royalty to Amgen for five years beginning on July 1, 2019 (see Note 12). Guarantees and Indemnifications In the normal course of business, the Company enters into contracts and agreements that contain a variety of representations and warranties and provide for general indemnifications. The Companys exposure under these agreements is unknown because it involves claims that may be made against the Company in the future, but have not yet been made. To date, the Company has not paid any claims or been required to defend any action related to its indemnification obligations. However, the Company may record charges in the future as a result of these indemnification obligations. The Company would assess the likelihood of any adverse judgments or related claims, as well as ranges of probable losses. In the cases where the Company believes that a reasonably possible or probable loss exists, it will disclose the facts and circumstances of the claims, including an estimate range, if possible.