add Template sample.