most of main page template is ready