new method for checking protocal state