cleaned up template.