Pricing in networks