different way of going to the prev index