updated template with newest syntax stuff