implement state machine: private network