Pimo State Machine