setting up for animation