Changed index to root