add an example of singletonClass which has singletonClass as its [Dtemplate argument