preparation for animation