trying different algorithm for save anim