Add client state machine pseudo