added is_animation_end