changed main template