committing as switching machines