index page
partial refactored