new main page and template