fromated the index page