modification to index and resume