Added UML State Machine