New animation code.