Can now define an animation sequence with an array