Revert "Revert "begin index""

This reverts commit c91d29e3a233785e65b0838ffc90a0b9781c1774.