changed template and index page.