changes in template for change parameters in stats