Added sample animation code