p2p princeple demo