templates and links