added expandStringTransitions