refactoring for integrate anorther animation