Transition function changed