Untested and incomplete index code