use toString() in Transition and InitialTransition instead of getName()