simplify machine initialization with a conversion function