add anim logic