rest of template