renamed the index. Need to rethink implementation.