working minus updates. pre indeces