Added example animation code