added one more type of animation
improved example