edit to refine index..