Moral hazard and Adverse Selection