Class CustomTemplate