refine template, design