Added transition with duration