Added (capture-neg-index) function