implement index hints