add index_stats file;no refactoring