added transition effect