add summary to templates