doTransition is called manually