add an animation in begin