added: getTemplate