added pointers to peer class