adds the animator structure