added template doh!