Added description of template sampling