added transition duration