peerProcess integrates with logfile and add few comments