adding required functions for a base peer.