did refactoring on how to represent information on the index