issue #27 - implemented peer code except of notifications (mails)