added statemachine template