added "doTransition"