Working out the animation problem