start of animation implementation