moved templates to external files