Working on Shtorka stateMachine