by means of a template