renamed statemachine file