switched index file