index to root