change a new method for animation