Implementing the Animation