Use resume as index