runs index works