peer_type typo, should have been peertype