changed name of animation to be more self-explainitory; updateAnimation
deleted a line for demonstration.