add indexes to ab.cases