almost finish index page