framework for peer to peer communication