adjust template and style