Updated P2P example.