improve indices