skeleton of state machine added