add peer reworked