Moral Hazard in the Presence of Suppliers and Competitors