added index to root