added template, samples, preamble