added root to pin index