added newlines to templates