add indexes to abc.cases