adding root index