add selection of a template