Title: Moral hazard, internal markets and hierarchy