trail for templates