public TMState createInnerTM(Point point, Serializable auto, String name, int i) {
         TMState ntms = new TMState(i, point, this);
         TuringMachine innerTM = (TuringMachine) auto;
         addState(ntms);
         ntms.setInnerTM(innerTM);
         ntms.setInternalName(name);
         return ntms;
    }