mod protocol