added to main template