better protocol snippet.