changes to main template