created a new animationComponent