Made some variables in Peer static