switched index root