changed protocol structures