private Transition mergeOutgoingTransitions(Transition t1, Transition t2) throws NoSuchTransitionException, Exception {
        for(String c:t2.getInput()) {
                addLabelToOutgoingTransition(t1, c);
            }
        return t1;
    }