*first part of the protocol implemented - not functional yet