- Implementation of animation