add index for animatortable