applied ewf to template