begining of animation