template viewing added