improved the animation