refine index