Added callback to anims and used this