modified the animation