Peer logic added