adding statemachine dragoon example