changed order of index pins