add doT and simple template