this is for protocol test.