cleaned up template header