(multi2mono) replaced getStates().add and getTransitions().add by add