refactoring du protocole de com