cleanup of unused functions
getting have message and storing the peer piecce
format