small changes to peer