protocol simulation