initial setup and page template complete