add setTemplates to create own templates