first working version of animation