add StateMachineLite