work on index definitions a bit, pruning