enchant template for custom