support diff indexes