created the main template