main template is fixed