made indexing interruptable