used templates for headers, added xx style links