implementing changes to PEER spec. #78.