stg machine initializer