Added a main template