modified the protocol file
modified the protocol related methods