cleaned up template indentations