added partial templating for header