complete the mvp of index