setAnimationClass function
setAnimationClass function