template and conf