add the AnimationTemplate method