Updated p2p example.