refactored animation system integration