almost finish index page less code