completed the animation demo