Using IO interface for animation.