use a template and a sub class
conf template