added start of state machine