Use proxy
Initialize state machine