Change index_list. Add documentation.