move header to template