revising index page designs, refactoring